Ask a Question related to ASP.NET General, Design and Development.
-
poi #1
Controls not Generating from OnInit and DataGrid Event Problem !
I define controls completely in code in a PrepControls() method. I put
the method in here:
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
PrepDynamicControls();
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
But the controls do not show. If I move them to the Page_Load event,
they show fine.
Also, one of the controls I dynamically build is a DataGrid. It gets
populated from a DataSet that gets populated from within a
textbox_TextChanged event handler. The DataGrid shows fine. If I click
on the LinkButton column in the grid, the grid disappears (which is OK)
but none of the DataGrid Events fire. I know this because I have VS.NET
breakpoints setup and none get called. By contrast, I build an
ImageButton the same way, and its event always fires.
Help!
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
poi Guest
-
datagrid click event problem to go next frame
Hi, I am facing problem with datagrid onclick event. i am trying, when user click on any item in grid it will go on next frame to display its... -
CustomDataGrid Child controls event problem - weird!?!
Hi, I am trying to build a Custom Web Control that extends the DataGrid control but I am having problems with the events of the child controls.... -
event.asp and appt.asp generating event #5
I have one user keeps on bringing down the IIS service. When he logons to OWA5.5, there will be inetinfo.exe error. I will have to reboot the box.... -
Dynamic User Controls Event Handling Problem
I've three user control 1,2 in the web form i had a place holder control to that place holder i'm loading either 1 or 2 depending on some... -
problem to retrieve value on update event in datagrid
Could it be that you reload your datagrid and there by repopulate the values after that the viewstate has been loaded? I suggest you check when your...



Reply With Quote

