Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~3K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

10 Posted Topics

Member Avatar for rafaelbelliard

This simple but extremely useful trick explains how to hande a radiobutton within an ASP.NET gridview, without having to fiddle around with the sometimes cumbersome beast that javascript is. To avoid postbacks, we'll be using ASP.NET AJAX's updatepanel. Basically, the logic is grabbing the sender (ie, the radiobutton checked), disabling …

Member Avatar for Member #1111100
1
603
Member Avatar for Ana D.

What you would want to do is call an event which would get all the books for a given user, and then make that event check all the controls. In this example, my GridDataBind receives the user's ID, fetches the list of books, then triggers my gridview's databound event, which …

Member Avatar for alexymasilamani
0
794
Member Avatar for pepe roni

You'll want to use a RadioButtonList instead of doing the selection logic by hand: [url]http://www.w3schools.com/aspnet/showasp.asp?filename=demo_radiobuttonlist[/url]

Member Avatar for punitdam
0
130
Member Avatar for laghaterohan

[QUOTE=GökhanBarış;916342] [CODE]dg2.Rows.Remove(dataGridView1.Rows[RowIndex]);[/CODE] [/QUOTE] Wouldn't that simply remove the row from the gridview, and not the object from the database itself? If your gridview is databound and has a datakey set up like the following: [code=xml] <asp:GridView ID="gridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectNewsletter" DataKeyNames="Id"/> [/code] You could get the selected ID of objects …

Member Avatar for laghaterohan
0
368
Member Avatar for josi.martarelli

DO NOT use a global DataContext. LINQ will break that way. You need to specify one almost for each LINQ atomic operation. [url]http://www.west-wind.com/weblog/posts/246222.aspx[/url]

Member Avatar for rafaelbelliard
0
123
Member Avatar for kothai86
Member Avatar for sanjaypsachdev

With the little information you have shown, maybe something like this is what you want: [code=csharp] List<User> users = new List<User>; foreach(User person in TestUsers) { users.Add((u => u.Name == person.Name).Single()); } [/code]

Member Avatar for rafaelbelliard
0
302
Member Avatar for mthobisil

[QUOTE=mthobisil;917267]Hi, im doing a website with master page, i hide and show some images every now and then on the master page, when i hide and show without redirecting to another page it doesnt give me any problems, but when i navigate to another page i lose the hide and …

Member Avatar for mthobisil
0
233
Member Avatar for vytla

[QUOTE=vytla;915993]I have created web page that retrives data from SQL database and display it to the user in well formatted manner. Data retrieved depend upon criterias selected by the user. But sometimes data retrieved is very large. I want to display records to the user page wise, i.e. 100 records …

Member Avatar for rafaelbelliard
0
118
Member Avatar for rafaelbelliard

Hello there. My name's Rafael Belliard, and I'm a young software developer for an Oracle-based IT consulting firm, working on the web development departament (ASP.NET). My hobbies include programming, going to the movies (by myself), hanging out with my friends and reading whatever I can find on the web 'til …

0
37

The End.