Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:753675
More Search Options
RSS Available
Matching Posts
Re: Selecting records in GRIDVIEW without SELECT button ??
[quote user="kannanmca"] hi attractor, Thks for reply... i need selecting records from gridview using without select button ... this is i need... If u no that, tel me... Regards. kannan [/quote] That is what I am telling you in my previous message. I though you wanted to select a record by pressing on the Id field in the GridView. You can achieve that by making the field a template and converting the field to a link button with "Select" as CommandName. Good luck.
Posted to
Data Presentation Controls
(Forum)
by
attractor
on 7/5/2008
Re: Selecting records in GRIDVIEW without SELECT button ??
It looks like this tutorial may help: http://www.asp.net/learn/data-access/tutorial-10-vb.aspx Now if instead of using the "Select" button you can make the "Id" field a template as follows: < ItemTemplate > < asp:LinkButton ID= "SelectLinkButton" runat= "server" CausesValidation= "False" CommandName= "Select" Text='<%# Eval("Id") >' / > </ ItemTemplate >
Posted to
Data Presentation Controls
(Forum)
by
attractor
on 7/4/2008
Re: Selecting records in GRIDVIEW without SELECT button ??
^^^^^^ The code above should fix radio display problems. In the above code I use the javascript postback method of the parent element which is a Select LinkButton to postback the selected index changing event. I also use some inline code to emit the cheched or nothing attribute for input element by comparing the Id of the current row against the id of the selected row. In order for that to be sucesfull the GridView needs to databind everytime we change the selected index.
Posted to
Data Presentation Controls
(Forum)
by
attractor
on 5/4/2008
Re: Selecting records in GRIDVIEW without SELECT button ??
If you want to use a radio button to do the select in a GridView you may use the following code (updated for correct display): <%@ Page Language="C#" %> < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < script runat= "server" > protected string IsChecked(Object key) { if (YourGridView.SelectedDataKey != null) if (key.Equals(YourGridView.SelectedDataKey.Value)) return
Posted to
Data Presentation Controls
(Forum)
by
attractor
on 5/4/2008
How to handle databound DropDownList controls whose bound value is not in the items' list
This post is ment to provide a solution to people who want to use a DropDownList control inside a FormView or a GridView control that is bound data sources that may produce unpredictable values. By unpredicatable I mean values that the programmer has not anticipated to provide in the items that populate the DropDownList. Failure to provide the bound value in the list of the items in the DropDownList will result in a ArgumentOutOfRangeException inside the void OnDataBinding( EventArgs e) function
Posted to
Tips & Tricks
(Forum)
by
attractor
on 9/29/2007
Re: CalendarExtender loses style when placed inside a web user control.
[quote user="morgash"] I too had the cropped calendar (missing two days) when used with in a Telerik RadGrid inside the content of a master page. I am no css expert but managed to get the days back with the following work around : < style type ="text/css"> .ajax__calendar_container { width : 240px ; } .ajax__calendar_body { width : 100% ; } </ style > Hope this helps! Morgash [/quote] Excellent post. Thank you so much for figuring that out.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
attractor
on 9/10/2007
Re: Invoking CascadingDropDown populate from javascript
Thank you for your replies. I was able to replicate the Cascading DropDown behaviour through the fireEven('onchange'); When calling this method on the Select element it triggers the cascading effect. I also used the window.setTimeout() method to delay the selection of the new value in the triggered select element until its content has been refreshed. The code is something like that : list1. value = "val1" list1.fireEvent( 'onchange' ); window.setTimeout( "list2.value
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
attractor
on 8/25/2007
Re: Invoking CascadingDropDown populate and selected index changed from javascript
Last try to BUMB. If I don't get any feedback I will try to do the processingon the server. So that will defeat the whole Ajax concept but I have no other option.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
attractor
on 8/14/2007
Re: Invoking CascadingDropDown populate and selected index changed from javascript
BUMP one more time. Someone help please.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
attractor
on 8/14/2007
Re: Invoking CascadingDropDown populate and selected index changed from javascript
This is a BUMP to my post. I just want a few hints. How can I repopulate the HTML select elements by invoking the default functionality of the CascadeDropdown control extender via javascript. Any hints are very much appreciatted.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
attractor
on 8/13/2007
Page 1 of 2 (11 items) 1
2
Next >
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online