Hi Thiruppathi,
this could work, but I want to place the button below the datagrid and later
I want to add an "editForm" which the user of the control specifies. Found no
working solution for that until now.
Regards,
Manuel
[quoted text, click to view] "Thiruppathi S" wrote:
> Hi Manuel,
>
> Create a ITemplate column and add this on datagrid on databinding
> for this you can see dynamically creating template column in datagrid in
> google
>
> Rgds,
> Thiruppathi S
>
> "Manuel Trunk" <ManuelTrunk@discussions.microsoft.com> wrote in message
> news:BF1E3261-EC6F-45D2-AB4C-DF6A69F8945D@microsoft.com...
> > > Just add a footer template with required fields and add a button with
> > > command name
> >
> > Hi Thiruppathi,
> >
> > the problem is that I don't have any template within a server control
> > inherited from datagrid.
> >
> > Best regards,
> > Manuel
>
>
Hi Manuel,
Just add a footer template with required fields and add a button with
command name
when u click the button the datagrid itemcommand fires.u can capture this
and do the rest.
i hop this will help u.
Rgds,
Thiruppathi S
[quoted text, click to view] "Manuel Trunk" <Manuel Trunk@discussions.microsoft.com> wrote in message
news:7B8CF6D1-B601-4ACC-99F1-412125D27BCE@microsoft.com...
> Hi,
> I try to develop a server control which inherits from DataGrid and adds a
> new/insert button to this grid. This is no problem, but I can't get the
event
> fired from this new button.
> I tried everything, implementing INamingContainer and
IPostBackDataHandler,
> added the button to the footer of the datagrid and so on. Nothing works.
> Anyone who can help me?
>
> Kind regrads,
> Manuel
Hi Manuel,
Create a ITemplate column and add this on datagrid on databinding
for this you can see dynamically creating template column in datagrid in
google
Rgds,
Thiruppathi S
[quoted text, click to view] "Manuel Trunk" <ManuelTrunk@discussions.microsoft.com> wrote in message
news:BF1E3261-EC6F-45D2-AB4C-DF6A69F8945D@microsoft.com...
> > Just add a footer template with required fields and add a button with
> > command name
>
> Hi Thiruppathi,
>
> the problem is that I don't have any template within a server control
> inherited from datagrid.
>
> Best regards,
> Manuel
hi,
where u want to add the editform
[quoted text, click to view] "Manuel Trunk" <ManuelTrunk@discussions.microsoft.com> wrote in message
news:4D855A75-ACEE-4EED-95A4-5A9069B5173C@microsoft.com...
> Hi Thiruppathi,
>
> this could work, but I want to place the button below the datagrid and
later
> I want to add an "editForm" which the user of the control specifies. Found
no
> working solution for that until now.
>
> Regards,
> Manuel
>
> "Thiruppathi S" wrote:
>
> > Hi Manuel,
> >
> > Create a ITemplate column and add this on datagrid on databinding
> > for this you can see dynamically creating template column in datagrid in
> > google
> >
> > Rgds,
> > Thiruppathi S
> >
> > "Manuel Trunk" <ManuelTrunk@discussions.microsoft.com> wrote in message
> > news:BF1E3261-EC6F-45D2-AB4C-DF6A69F8945D@microsoft.com...
> > > > Just add a footer template with required fields and add a button
with
> > > > command name
> > >
> > > Hi Thiruppathi,
> > >
> > > the problem is that I don't have any template within a server control
> > > inherited from datagrid.
> > >
> > > Best regards,
> > > Manuel
> >
> >
> >