Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
CalSun #1
Datagrid In a webcontrol
I have a datagrid with Edit/Delete columns in a webcontrol.
I load this control dynamically based on users' selection from a table
dropdownlist.
The control loads fine and the data is there. However, when I click on Edit
to change the current column, the column doesn't change to Update/Cancel.
The data in the datagrid is gone. It's a blank datagrid.
I need your help.
--Thanks
CalSun Guest
-
WebControl inside of WebControl and attaching events
I have built a navigation custom web control that I have been placing on various pages without issue. When one of the image buttons within the... -
Style editing text in Datagrid WebControl
Hello: I would appreciate any suggestion to overcome a problem editing cells in Datagrid WebControl. The user must type a long character string in... -
DataGrid WebControl does not use PropertyDescriptor.GetValue
I have a custom collection object that implements ITypedList. The GetItemProperties method returns a collection of custom property descriptors. ... -
problem with andy's datagrid checkbox webcontrol
Hi: I am using the Andy's datagrid checkbox webcontrol in here: http://metabuilders.com/Tools/RowSelectorColumn.aspx I ran the example given... -
Image Button in Datagrid WebControl
in your itemdatabound or itemcreated event handler just add a label control or any control that will take a url tag to the cell. then add the image... -
Elton Wang #2
Re: Datagrid In a webcontrol
Please show your code in Edit event.
"CalSun" <someone@somecom.com> wrote in message
news:OacdtG5vFHA.3124@TK2MSFTNGP12.phx.gbl...Edit> I have a datagrid with Edit/Delete columns in a webcontrol.
> I load this control dynamically based on users' selection from a table
> dropdownlist.
> The control loads fine and the data is there. However, when I click on> to change the current column, the column doesn't change to Update/Cancel.
> The data in the datagrid is gone. It's a blank datagrid.
>
> I need your help.
> --Thanks
>
>
Elton Wang Guest
-
CalSun #3
Re: Datagrid In a webcontrol
Thanks for the message.
I have solved the problem. The Edit/Delete features work just fine with the
datagrid. My problem was the order of event. I select a table from a
dropdownlist and detect the change in page_load. The page_load event takes
place before the dropdownlist change. It doesn't work with
cmbTable.SelectedValue in page_load. I got the dropdownlist selection with
request.form.
--CalSun
"Elton Wang" <elton_wang@hotmail.com> wrote in message
news:uOMBhUDwFHA.720@TK2MSFTNGP15.phx.gbl...> Please show your code in Edit event.
>
>
> "CalSun" <someone@somecom.com> wrote in message
> news:OacdtG5vFHA.3124@TK2MSFTNGP12.phx.gbl...> Edit>> I have a datagrid with Edit/Delete columns in a webcontrol.
>> I load this control dynamically based on users' selection from a table
>> dropdownlist.
>> The control loads fine and the data is there. However, when I click on>>> to change the current column, the column doesn't change to Update/Cancel.
>> The data in the datagrid is gone. It's a blank datagrid.
>>
>> I need your help.
>> --Thanks
>>
>>
>
CalSun Guest



Reply With Quote

