Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Anonymous Poster #1
Bubbling up custom events in datagrid
I have a custom web control GridList which contains an array of derived
Datagrid controls. Each datagrid has an additional event OnRowSelect, fired
when the user double-clicks on the row. It passes an id back for the row in
its eventargs, by placing the row value into a hidden field, then generating
a fake click event on a hidden button to cause a postback via javascript.
This is turn fires the server-side click of the hidden button so I can act
on the event. This works fine.
I cannot for the life of me get this event to fire when the grid is placed
inside the GridList control. I've tried making a wrapper OnRowSelect for the
GridList to bubble up the Datagrid event, but it is never ever fired :( I
think its a postback issue but have no idea how to get around it :( I have
added an OnDataBind event to the GridList to let me bind each grid in turn
and this does fire, but the OnRowSelect won't even though the event is added
at the same time!?
TIA!
Simon
Anonymous Poster Guest
-
Event Bubbling Custom Object not inheriting from control
One of the new things flash flex and xaml have are ways which the event easily bubbles up to a parent that knows how to handle the event. Similar... -
Custom Events in Web Services
Hello, I have created a class with custom events. The delegate for the event is created before the class is declared. This event works fine when... -
how to add events to a custom control
"TIBM" <TIBM@discussions.microsoft.com> wrote in message news:15A29094-90DA-4E14-80B5-A433BE45136F@microsoft.com...... -
Q: how to create custom events
ok ive been all through the manual again trying to figure this out but i just cant find it. how can i generate my own custom event ? for example :... -
Composite Controls and Bubbling events
I´m programming a composite WebCustomControl called wcc. I want to hide a button, once it's clicked!!! And my question is: Is there any way to...



Reply With Quote

