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:682978
More Search Options
RSS Available
Matching Posts
Re: how to add text to label in header template at run time
hi, it is still working for DataGrid <asp:DataGrid id="DataGrid1" style="Z-INDEX: 101; LEFT: 112px; POSITION: absolute; TOP: 80px" runat="server" OnItemDataBound="Bound"> <Columns> <asp:TemplateColumn> <HeaderTemplate> <asp:Label ID="Label1" Runat="server" Width="20" Text="abc"></asp:Label> </HeaderTemplate> </asp:TemplateColumn> </Columns> </asp:DataGrid> protected void Bound(object sender,System.Web.UI.WebControls.DataGridItemEventArgs
Posted to
Data Presentation Controls
(Forum)
by
jessjing
on 12/29/2006
Re: how could i directly attach any output stream content to placeholder control or image control in asp.net?
hi, refer to this post http://forums.asp.net/thread/1509702.aspx hope it helps
Posted to
Web Forms
(Forum)
by
jessjing
on 12/29/2006
Re: How to assign unique values to Dropdown from dataset table
hi, I hv got a method, first retreive the DDL and stroe the double items index in the countNum, and then store the unique value in values, last use values as the DropDownList' s datasource and rebind the DDL ArrayList countNum = new ArrayList(); ArrayList values = new ArrayList(); for (int i = 0; i < DropDownList1.Items.Count; i++) { string a = DropDownList1.Items[i].Text; for (int j = i + 1; j < DropDownList1.Items.Count; j++) { if (a == DropDownList1.Items[j].Text) { countNum.Add(j.ToString
Posted to
Web Forms
(Forum)
by
jessjing
on 12/29/2006
Re: Public Partial Classes
hi, are you refering the partial classes in two pages? if so , you want to access the value in one page from another page, am I right? try this public partial class Default4 : System.Web.UI.Page { private string _myValue; public string myValue { get { return _myValue; } set { _myValue = value; } } protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click1(object sender, EventArgs e) { myValue = "hellow Default2.aspx"; Server.Transfer("Default2.aspx"); } } public partial
Posted to
Web Forms
(Forum)
by
jessjing
on 12/29/2006
Re: how to add text to label in header template at run time
hi, try this Label l1 = (Label)GridView1.HeaderRow.Cells[0].FindControl("Label1"); l1.Text = "change!"; cell[index], the index is the index of the column that your header is in
Posted to
Data Presentation Controls
(Forum)
by
jessjing
on 12/29/2006
Re: Display row number in datagrid
hi, add a templatefield to the GridView, and then add a label to it <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="job_id" DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display."> <Columns> <asp:TemplateField><ItemTemplate><asp:Label ID="l1" runat="server" Text="1"></asp:Label></ItemTemplate></asp:TemplateField> <asp:BoundField DataField="job_id" HeaderText="job_id" ReadOnly="True
Posted to
Data Presentation Controls
(Forum)
by
jessjing
on 12/29/2006
Re: sending emails to groups
hi, look at this http://www.codeguru.com/csharp/.net/net_asp/email/article.php/c12755/ hope it helps
Posted to
Web Forms
(Forum)
by
jessjing
on 12/29/2006
Re: IMG tag problem
hi, add your image to your project and then use it in the html tag <img id="im1" src="lib2.jpg" /> it works ok
Posted to
Web Forms
(Forum)
by
jessjing
on 12/28/2006
Re: safari validation control,submit button problem
hi, I copied your code and run it on my pc, it works ok <html xmlns=" http://www.w3.org/1999/xhtml "> <head> <title>TEST</title> </head> <body> <form id="form1" runat="server"> <div> <br /> <asp:TextBox ID="test" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="test"></asp:RequiredFieldValidator> <asp
Posted to
Web Forms
(Forum)
by
jessjing
on 12/28/2006
Re: ListBox column formatting
hi, may be you can try using EasyListBox
Posted to
Web Forms
(Forum)
by
jessjing
on 12/28/2006
Page 1 of 87 (865 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online