Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Fredrik #1
How do access a datagrid control in Page_load
Hi,
I have the following setup
A datagrid containing a Table(template column)
The table contains a Dropdownlist.
I want to bind the dropdown list in the page_load event as i am
modifying the select statement based on passed in information. How do
you reference this control.
If i code on the edit_datagrid/cancel_datagrid/update_datagrid buttons
i can see it there using the e.findcontrol("dropdownlist")
Any ideas
Thanks
/F
Fredrik Guest
-
Access User Control value during Page_Load
ASP.NET - C# (User Control) I have a drop-down as usercontrol. In the user control's Page_Init , the drop down gets populated. The... -
Refreshing DataGrid in page_load
Hi, I want to refresh my DataGrid data on every postback. I have following code in Page_Load event, but after first page load, the DataGrid... -
How can I access a datagrid control during Edit event?
This is how I access Pieces field in my editable datargid during Update event: protected void grdMain_OnUpdate(Object sender,... -
Problem to Access web control on the DataGrid Header
Hi The Items Collection of DataGrid does not hold Header and Footer. So to access the Control you need to handle ItemCreated event. HTH... -
Access to Page_Load Event from the .ascx control
UserControls have a page_load event as well as pages. when the Load event occurs for the page, the load events for all child controls are...



Reply With Quote

