CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/28/2007 5:59:48 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
gayathribp
Asp.Net User
Ajax Popup window accessing HiddenField within GridView5/28/2007 5:59:48 AM

-1/1

On click of image button in the GridView, I need to display Ajax popup window(which contains one textbox and one Add button) which allows the user to enter some comments in TextBox. Once the user clicks on Add button in Ajax popup, it should get closed and user entered data should be stored in HiddenField within the GridView.

I am not able to get the HiddenField object within the GridView.

Can anyone help me out in this.

Thanks in advance

folkertsj
Asp.Net User
Re: Ajax Popup window accessing HiddenField within GridView5/30/2007 5:57:38 AM

1/1

Take a look at an article i wrote about ajax and gridview and dynamic modal ( www.joshuafolkerts.com)  there is a sample on there under demos and you can download the code if you want, there is some code in there that references how to access the control inside the gridview from code.

So if you had a control inside the gridview that you want to put information into from the popup window it would be something like this

dim newText as hiddenfield = ctype(gridview.findcontrol("IDofCurrentHiddenField"), hiddenfield)

newtext.value=value from popuppage. 

hope this helps


Joshua Folkerts
2 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

ASP.NET Wiki ... how to check/uncheck CheckBoxes within a GridView control using JavaScript... Passing value from popup window to parent form's TextBox. Configuration ...
JavaScript [Archive] - Page 199 - WebDeveloper.com ... and deploying JavaScript including DHTML and AJAX(not Java) ... Bring Popup to front. Event handlers in Firefox. accessing div tags by index using javascript ...
.NET ASP Page 28 - Bytes Site Map Closing popup window when closing parent window? ... Accessing multiple values. user control needs data. Problem with Image display on separate window ...
Asp.Net Programming Layout within Ajax Update Panel in Visual Studio. 18237. HTML document.body.scrollTop question ... URGENT: window.open does not render server-side code when ...
ASP Net [Archive] - Page 229 javascript parent window URL. Dynamic template for a delete button in gridview ... Accessing control in Wizard..? security for AJAX-style function calls. How ...
TheMSsForum.com >> Asp >> Archive Page 50 - The Microsoft Software Forum 17379: Layout within Ajax Update Panel in Visual Studio. 17380: what is CType? ... 17472: Varying the contents of a Dropdown within a Gridview ...
ASP Net [Archive] - Page 307 Accessing usercontrol in placeholder. gridView sorting ... add "spacers to gridview" ASP and ASP.NET. Session Issue. showModalDialog window does not close ...
.NET ASP Page 38 - Bytes Site Map Unwanted window. What is Needed to Get ... Problem accessing GridView. Master Pages and JavaScript ... Master Pages and Ajax UpdatePanel. Pop Up Box Question ...
TheMSsForum.com >> Asp >> Archive Page 17 - The Microsoft Software Forum 5768: Best way to test for numeric in my Gridview. 5769: Ajax control toolkit not working ... 5817: Render an html page within a content area. 5818: Ajax Toolkit 1.0 ...
ASP.NET Development ... popup window for data entry using the javascript window.open function: window. ... Prevent two users from accessing the same file at the same time ...



 
All Times Are GMT