Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Datagrid and IE Control Toolbar Composite Control

Reply
Thread Tools

Datagrid and IE Control Toolbar Composite Control

 
 
King Kong
Guest
Posts: n/a
 
      12-20-2004
i have a datagrid and toolbar and have integrated them in my composite
control(inherited datagrid)
toolbar items are shown as for e.g
<HeaderToolBarItems>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton>
</HeaderToolBarItems>

We expect to get the button's click event, in the
parent control but we cant. Infact if the toolbar is used as a seperate
control the buttons do post back on the page and raises the event but when
the same toolbar is used in a Control which derives from datagrid, the click
of the buttons do nothing. Even the page is not posted back. We've tried
Autopostback=true, it did'nt help. We tried
ToolBarButton.Attributes.Add(''onButtonClick','myH andler') on each button
when rendering the toolbar but then it tries to look for the implementation
of the function myHandler on the client side.


Now i want to get the toolbar click event that i m not able to trigger from
the code i want to give developers facility to trigger event in aspx file if
they click this toolbar
all controls are been rendered here toolbar and datagrid both
Any Ideas how to have event from this kinda composite control. i can overide
all type of datagrid events but not my IE toolbar

Please people any and all the help will be highly appreciated.

Regards
Moid Iqbal


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Composite control not appearing in toolbar... Griff ASP .Net Building Controls 5 10-18-2006 06:08 PM
Losing Composite Control property that another Composite Control ... Chad ASP .Net Building Controls 0 02-01-2005 09:01 PM
Composite Control with Datagrid and Microsoft IE Toolbar King Kong ASP .Net Building Controls 0 12-08-2004 03:58 PM
Possible to create a composite control that has a child control that is a validator that validates the composite control itself? Jonathan Eric Miller ASP .Net Building Controls 2 07-22-2004 10:58 PM
Composite control with dynamic composite controls sleigh ASP .Net 1 02-12-2004 06:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57