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:828233
More Search Options
RSS Available
Matching Posts
Re: Problem exporting data from gridview to csv
Hi, Please check this link. http://forums.asp.net/t/1341185.aspx Thanks,
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/30/2009
Re: Need Primary Key for each row in gridview
Hi, Use the datakey name instead of its instead of its index. Please see slightly modified code. Protected Sub GridView1_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow Then Dim key As String = GridView1.DataKeys(e.Row.RowIndex)("keyname").ToString() End If End Sub Thanks,
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/30/2009
Re: help with two dropdownlists
Hi, Here is the asp.net markup. <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>Wales</asp:ListItem> <asp:ListItem>England</asp:ListItem> <asp:ListItem>Scotland</asp:ListItem> <asp:ListItem>Ireland</asp:ListItem> </asp:DropDownList><br /> <asp:DropDownList ID="DropDownList2" runat="server"
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/30/2009
Re: textbox validation
[quote user="si.sharma"] Hi. You can use the following expresion..It will allow one character,one digit and one special character.. (?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$ Use this in reqular expression.. Remember To Mark as answer.. Thanks Kinjal [/quote] Hi, Use this regex. ^[0-9a-zA-Z]+$ Thanks,
Posted to
Web Forms
(Forum)
by
sharpeffect
on 7/29/2009
Re: how to add email hyperlink to FormView
Hi, Your Hyperlink markup should look like this. <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# getText(Eval("email")) %>' NavigateUrl='<%# Eval("email", "mailto:{0}") %>' /> See the Text attribute. Now write the small function in code, here is its definition. public string getText(Object obj) { if (obj == null) return string.Empty; if (string.IsNullOrEmpty(obj.ToString())) return string.Empty; return "MailTo";
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/29/2009
Re: how to avoid horizontal scroll
Hi, have the widths of body and outer tables to percentatge i.e. 100%. There will not no scrollbar in any browsers, however sometimes it ruin the design of the site so also check this issue carfully. Thanks,
Posted to
Client Side Web Development
(Forum)
by
sharpeffect
on 7/29/2009
Re: Highlight Last record in gridview
Hi, Please handle the DataBound event of the gridview. Its just one line of code. protected void GridView1_DataBound(object sender, EventArgs e) { GridView1.Rows[GridView1.Rows.Count - 1].BackColor = Color.Red; } Thanks,
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/28/2009
Re: textbox password problem
Hi, Please refer to this article on codeproject, solution of your problem is there. http://www.codeproject.com/KB/webforms/Set_Password_from_code.aspx Thanks,
Posted to
Web Forms
(Forum)
by
sharpeffect
on 7/28/2009
Re: Gridview with requiredfieldvalidator
Hi, Please refer to this link. http://www.asp.net/LEARN/data-access/tutorial-19-cs.aspx Thanks,
Posted to
Data Presentation Controls
(Forum)
by
sharpeffect
on 7/28/2009
Re: Invalid postback or callback argument
Hi, On Page declaration this attribute doesn't exist by default and it default value is true. So you have to add this attribute EnableEventValidation="false" in Page Declaration section. Thanks,
Posted to
Web Forms
(Forum)
by
sharpeffect
on 7/28/2009
Page 1 of 22 (218 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online