Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Devendra #1
GridView reload for the updated records.
Hi
Is there any way that I can call a vb function from Javascript .........
Scenario
I have a search which shows output in a gridview. I have one Select
commandButton which opens a pop-up window using showModalDialog()
After I edit the record and close the pop-up window, I need to update the
gridView with updated details without reloading or refreshing the page. If I
write window.reload it give "Retry Cancel" message box, which i dont want.
Thanks
Regards,
Devendra Guest
-
GridView doesn't appear
Hi, I am using the control GridView. I can see this control in html document in design view, but when I run it, it will not show up, neither the... -
retreve number of records updated
is there a variable that can be accessed from a query that tells the number of records updated? Thanks KES -
Datagrid not updated during delete, but updated during insert and update
Hello everyone. A test webform here, single datagrid bound to one table through dataset, and controls to delete, update and insert data. The code... -
Imported + updated symbols don't stay updated
Hi everybody. I apologize for posting a question that probably any newbie should know, but ... I'm a rank Fireworks newbie. My problem is that the... -
What is the GridView?
Hey Folks. Who can tell us all more about the GridView in http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx the successor to the DataGrid?... -
Steven Cheng[MSFT] #2
RE: GridView reload for the updated records.
Hi Devendra,
Welcome to ASPNET newsgroup.
From your description ,you're using the ASP.NET 2.0 framework to develping
a data driven web application. You have a certain page which use GridView
to display some datarecords and when the user click a certain button in
each row, there'll popup another page to let the user update that record's
values. However, you're wondering how to make the update in the main page
after the use finish editing the record in the popup window and return to
the main page, yes?
Based on my understanding, for template databound controls like GridView or
the old DataGrid, repeater, their row values are stored in ViewState and
we can not directly modify them at clientside or at serverside (without
databinding). So for your scenario, I think to make the GridView update, we
can not avoid refreshing the page(or postback it to redo databinding on the
gridview). Also, for the updating operation, I suggest you use a
DetailsView in the popup page to let the user edit the record and perform
the update directly in the popup window's page. And after update use script
to perform a postback or refersh on the original main page(which contains
the gridview). How do you think of this?
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Devendra" <mikrofax@nospam.nospam>
| Subject: GridView reload for the updated records.
| Date: Thu, 13 Oct 2005 14:01:00 +0100
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| Message-ID: <OpaM20$zFHA.2212@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| NNTP-Posting-Host: 217.205.201.142
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.datagridc ontrol:5791
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
|
| Hi
|
| Is there any way that I can call a vb function from Javascript .........
|
| Scenario
| I have a search which shows output in a gridview. I have one Select
| commandButton which opens a pop-up window using showModalDialog()
| After I edit the record and close the pop-up window, I need to update the
| gridView with updated details without reloading or refreshing the page.
If I
| write window.reload it give "Retry Cancel" message box, which i dont want.
|
| Thanks
|
| Regards,
|
|
|
|
|
Steven Cheng[MSFT] Guest
-
Steven Cheng[MSFT] #3
RE: GridView reload for the updated records.
Hi Devendra,
How are you doing on this issue and does the suggestions in my last reply
helps a little? If there're anything else we can help, please feel free to
post here.
Thanks & Regards,
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.
--------------------
| X-Tomcat-ID: 37049989
| References: <OpaM20$zFHA.2212@TK2MSFTNGP15.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: [email]stcheng@online.microsoft.com[/email] (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Fri, 14 Oct 2005 02:39:40 GMT
| Subject: RE: GridView reload for the updated records.
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| Message-ID: <Y6kSOiG0FHA.3772@TK2MSFTNGXA01.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| Lines: 70
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.datagridc ontrol:5794
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Hi Devendra,
|
| Welcome to ASPNET newsgroup.
| From your description ,you're using the ASP.NET 2.0 framework to
develping
| a data driven web application. You have a certain page which use GridView
| to display some datarecords and when the user click a certain button in
| each row, there'll popup another page to let the user update that
record's
| values. However, you're wondering how to make the update in the main page
| after the use finish editing the record in the popup window and return to
| the main page, yes?
|
| Based on my understanding, for template databound controls like GridView
or
| the old DataGrid, repeater, their row values are stored in ViewState and
| we can not directly modify them at clientside or at serverside (without
| databinding). So for your scenario, I think to make the GridView update,
we
| can not avoid refreshing the page(or postback it to redo databinding on
the
| gridview). Also, for the updating operation, I suggest you use a
| DetailsView in the popup page to let the user edit the record and perform
| the update directly in the popup window's page. And after update use
script
| to perform a postback or refersh on the original main page(which contains
| the gridview). How do you think of this?
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! [url]www.microsoft.com/security[/url]
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
| --------------------
| | From: "Devendra" <mikrofax@nospam.nospam>
| | Subject: GridView reload for the updated records.
| | Date: Thu, 13 Oct 2005 14:01:00 +0100
| | Lines: 18
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <OpaM20$zFHA.2212@TK2MSFTNGP15.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| | NNTP-Posting-Host: 217.205.201.142
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.aspnet.datagridc ontrol:5791
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| |
| | Hi
| |
| | Is there any way that I can call a vb function from Javascript .........
| |
| | Scenario
| | I have a search which shows output in a gridview. I have one Select
| | commandButton which opens a pop-up window using showModalDialog()
| | After I edit the record and close the pop-up window, I need to update
the
| | gridView with updated details without reloading or refreshing the page.
| If I
| | write window.reload it give "Retry Cancel" message box, which i dont
want.
| |
| | Thanks
| |
| | Regards,
| |
| |
| |
| |
| |
|
|
Steven Cheng[MSFT] Guest



Reply With Quote

