CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 3/9/2007 2:26:53 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 115 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"jaya_chhabria"
NewsGroup User
Access a controlparameter for formview placed in a contentplaceholder?3/9/2007 2:26:53 PM

0

Hello All,

I have a page which inherits from a Master page. In the contentPlaceHolder, I have placed a formView which is linked to a sqlDataSource. Now for the Select Parameters- I am trying to use ControlParameters. The controls are also placed in the same contentPlaceHolder.

I am trying to access the values of these controls and I have tried the control name as well as the name of the control at run-time. But I can't pass these values on to the formView.

SelectCommand="SELECT [CCAN], [CUST_NAME], [CUST_ADD1], [CUST_ADD2], [CUST_ADD3], [CUST_CITY], [CUST_STATE], [CUST_ZIP] FROM [Contract] WHERE (([CCAN] = @CCAN) AND ([CUST_NAME] = @CUST_NAME))">
<SelectParameters>
<asp:ControlParameter ControlID="fldCCAN" Name="CCAN" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="fldCustomer" Name="CUST_NAME" PropertyName="Value" Type="String" />
</SelectParameters>

 Tried this too:<asp:ControlParameter ControlID="ctl00$cntPlaceHolder$fldCCAN" Name="CCAN" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="ctl00$cntPlaceHolder$fldCustomer" Name="CUST_NAME" PropertyName="Value" Type="String" />

Can anyone guide me, so that I can solve this problem.

Thanks.

"Zhao Ji Ma - M
NewsGroup User
Re: Access a controlparameter for formview placed in a contentplaceholder?3/14/2007 11:34:49 AM

0

Is this what you are looking for:

http://forums.asp.net/thread/1582535.aspx

hope it helps!


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













problem with css layout

dynamically generate a menu from database.

how to replicate the msdn web site structure

treeview database

master page load

menu control and parent/child page problem.

skin vs css

save/load general preferences/properties

2.0 menu control not working in beta 2

master page with login page

master page problem with <iframe>

menuitemclick not firing

making a menu choice appear selected after choosing?

master page and the mastertype and reference directives

can only click on text of menu items

treeview node text is a format of two bound fields

masterpage and iextenderprovider

app themes request

populate a treeview with a xml file

synchronize design view with skins

allow user to choose a masterpage - how to?

asp:menu javascript onmouseover onmouseout security trimming enabled web.sitemap

master pages and seo optimization

using css in master pages

urgent: masterpage bulletedlist event

selectednodechanged event not fired for treeview

problem in sitemap build with 4 deep level hierarchycal xml data

populating menus

images on master sheet

menu contrl (xmldatasource)

skinning inherited control

hide child node but keep parent node selected

any performance issues using themes & skins

treeview: re-click selected node

master pages - contentplaceholder control size in visual studio 2005 design mode

sitemappath, dynamically created

re-registering same component for both master/placeholder pages

response.redirect raising exception in master page.

subdomain rewriting

removing/disabling button in treeview

dropdownlist not working in masterpage

master page and firefox

treeview control

broken links when using masterpage

new to themes, best way to accomplish multi site app

help-menu cause page to shift (!) in ie6, but ok in ie7 and ff

css files are references multiple times in the head tag

setting masterpage controls during page load

scrolling by keyboard keys in masterpages

using vb code to display html in master pages

   
  Privacy | Contact Us
All Times Are GMT