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:760339
More Search Options
RSS Available
Matching Posts
Re: GridView Highlight the row onmouseover (CSS Only)
it works fine. save time.... :)
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 2/12/2008
Re: how to bind data to checkboxlist
try this Page_load event (code behind) if (!IsPostback) { chk1.DataSource = dataset or datatable or any datasource; chk1.DataTextField = "Name_Cat"; chk1.DataValueField = "Name_Cat"; chk1.DataBind(); }
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 11/15/2007
Re: No connection could be made because the target machine actively refused it
Hi Darell Norton, Even i am facing the same problem while sending mails. I tried using "localhost" but still it gives the same error. I am using Asp.net 2.0. Thanks.
Posted to
Rainbow Portal
(Forum)
by
harshal_waingankar
on 11/14/2007
Re: GridView Highlight the row onmouseover (CSS Only)
no its not possible only with CSS. you have to add the onmouseover and onmouseout attribute to each row.
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 10/31/2007
Re: GridView Highlight the row onmouseover (CSS Only)
This will do protected void GridView1_RowCreated( object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType .DataRow) { e.Row.Attributes.Add( "onmouseover" , "this.runtimeStyle.backgroundColor='#009999'" ); if (e.Row.RowIndex % 2 == 0) e.Row.Attributes.Add( "onmouseout" , "this.runtimeStyle.backgroundColor='#F7F7DE'" ); else e.Row.Attributes.Add( "onmouseout" , "this.runtimeStyle.backgroundColor='#FFFFFF'"
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 10/31/2007
Re: Dynamically Creation of Dropdown in GridView
DropDownList dd = new DropDownList(); //Add items to the DropDown GridView1.Rows[0].Cell[0].Controls.Add(dd); Add these lines in a loop or a databound event of GridView to add DropDown in multiple rows. Hope this helps
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 10/31/2007
Re: Validating Textbox
This example is without using RegularExpression Validator. Hope thiws helps to irrespective of language to check for JavaScript function validateTextbox() { for(var i=0; i<document.getElementById('TextBox1').value.length; i++) { if (isNaN(document.getElementById('TextBox1').value.charAt(i)) == false) { alert('Please enter alphabets only!!!'); return false; } } } Page_Load (Code Behind) TextBox1.Attributes.Add("onblur","return validateTextbox()");
Posted to
Web Forms
(Forum)
by
harshal_waingankar
on 10/31/2007
Re: Referencing the GridView Update and Cancel LinkButtons
try this LinkButton btnCancel = ( LinkButton )dgCountry.Rows[e.NewEditIndex].Cells[1].Controls[ 2 ]; //Cancel Button the index of cancel button is 2 and 1 is the literal control.
Posted to
Data Presentation Controls
(Forum)
by
harshal_waingankar
on 10/31/2007
Re: Auto-populate text box based on another text box on the page
Try this, declare a public variable globally and the combine the two values in code behind itself string a1 = Bind("DATAFIELD") + " " + txtTextBox1.text; and in HTML <asp:TextBox ID="TextBox2" runat="server" Text= '<%# a1 %>' >
Posted to
Web Forms
(Forum)
by
harshal_waingankar
on 10/29/2007
Re: Insert Multiple entries to a database from checkbox entries
K! sorry for VB cmd.commandtext = "INSERT INTO MusicType(EventID, Music, Weight) VALUES( " & VarEventID & ",'" & VarMusic & "'," & VarWeight & ")"
Posted to
Web Forms
(Forum)
by
harshal_waingankar
on 10/29/2007
Page 1 of 13 (123 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online