Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Tina #1
DataGrid Buttons causing validation
the Edit, Update, Cancel, and Delete buttons in my datagrid are causing
validation elsewhere on the page. I want to specify that these buttons
should not cause validation but they have no design time property of
causevalidation.
How can I keep them from causing validation?
Thanks,
T
Tina Guest
-
Checkbox validation in datagrid
I have a datagrid that has 3 checkboxes (checkbox1, checkbox2 and checkbox3). Before i update a record to the database i want to run a validation... -
fully editable datagrid causing crash
i need to display up to possibly a few hundred rows from a database table in a datagrid that is fully editable. there need to be 5 editable... -
Dynamically Add Validation to Datagrid
I have a dgrid with some edit boxes for entry which i need to validate. When i input the validation within the bound columns in the .aspx page it... -
DataView.Sort causing duplicate entries in a DataGrid control
I have a custom object that exposes data through one of its properties that is of type DataTable. I then use the resultant DataTable from the... -
Datagrid validation
How to implement the following two validations in the datagrid. 1. For one of the column user can edit only numeric values(0 to 9). 2. The edit box... -
Brock Allen #2
Re: DataGrid Buttons causing validation
You can put in your own ItemTemplate column and inside there put <asp:LinkButton
CausesValidation=false CommandName="Update" .... />. The special names for
CommandName are "Update", "Delete" and "Cancel" as you might expect.
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> the Edit, Update, Cancel, and Delete buttons in my datagrid are
> causing validation elsewhere on the page. I want to specify that
> these buttons should not cause validation but they have no design time
> property of causevalidation.
>
> How can I keep them from causing validation?
>
> Thanks,
> T
Brock Allen Guest
-
Tina #3
Re: DataGrid Buttons causing validation
my buttons are "buttons" not linkbuttons. Are you saying to just create a
new column in the grid, make it a non visible template column and put in
your string? what does the .... mean?
T
"Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
news:b8743b114ca108c7ba5822166368@msnews.microsoft .com...> You can put in your own ItemTemplate column and inside there put
> <asp:LinkButton CausesValidation=false CommandName="Update" .... />. The
> special names for CommandName are "Update", "Delete" and "Cancel" as you
> might expect.
>
> -Brock
> DevelopMentor
> [url]http://staff.develop.com/ballen[/url]
>>>> the Edit, Update, Cancel, and Delete buttons in my datagrid are
>> causing validation elsewhere on the page. I want to specify that
>> these buttons should not cause validation but they have no design time
>> property of causevalidation.
>>
>> How can I keep them from causing validation?
>>
>> Thanks,
>> T
>
Tina Guest



Reply With Quote

