Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Les Matthews #1
VB.NET: Reset DataGrid pageIndex = 0 on form submit?
I have a datagrid populated by a stored procedure that accepts values from
dropDownList boxes as parameters to filter the data. The datagrid also
allows paging. The page generates an "Invalid CurrentPageIndex value. It
must be >= 0 and < the PageCount." error when the parameters selected are
such that a lot of data is fetched and you advance through several pages of
results and then resubmit the dropDownList boxes with more restrictive
parameters such that the page you were "on" no longer exists.
Does anyone know of a way to set the pageIndex = 0 whenever the form is
resubmitted? Thanks.
Les Matthews Guest
-
All my drop down lists get reset to the first value when I go in to edit a record in the datagrid....
I've got my datagrid working to the point where I can edit records and even pick different values in my dropdownlists, save the record and have that... -
reset custom form validation
Hi there, I use a custom form validation on a form. When i use the form for the first time my name input field has no red line. when i cancel... -
Reset DataGrid
I have a datagrid on a form that I populate with the following: DS.Clear() DA.Fill(DS,myTable) DataGrid1.DataSource = DS... -
Can't get form to submit or reset
I am a first time flash form creator and I am having problems getting the form to reset and submit to an email. I followed the book to the letter... -
Form Field/ Form Submit Problems (probably an easy answer...)
Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works... -
Les Matthews #2
Re: VB.NET: Reset DataGrid pageIndex = 0 on form submit?
Does anyone have a function that will reset the CurrentPageIndex of a MM
DataGrid to 0?
"Les Matthews" <LesAMatthews@yahoo.com> wrote in message
news:d48g0o$fb9$1@forums.macromedia.com...>I have a datagrid populated by a stored procedure that accepts values from
>dropDownList boxes as parameters to filter the data. The datagrid also
>allows paging. The page generates an "Invalid CurrentPageIndex value. It
>must be >= 0 and < the PageCount." error when the parameters selected are
>such that a lot of data is fetched and you advance through several pages of
>results and then resubmit the dropDownList boxes with more restrictive
>parameters such that the page you were "on" no longer exists.
>
> Does anyone know of a way to set the pageIndex = 0 whenever the form is
> resubmitted? Thanks.
>
Les Matthews Guest



Reply With Quote

