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:796165
More Search Options
RSS Available
Matching Posts
Re: Conditionally write an image and hyperlink tag
try adding ToString() Visible = < %# Not String.IsNullOrEmpty(Eval("YourField").ToString()) % > >
Posted to
Web Forms
(Forum)
by
majd_wadi
on 12/7/2009
Re: gridview templatefield control
Hi mstrap123 here's what you can do: - set the visible attribute of the templatefield to false . <asp:TemplateField HeaderText="HeaderText" SortExpression="YourField" Visible=false> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Bind("YourField") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> and here's the button's code behind: protected void Button1_Click(object
Posted to
Client Side Web Development
(Forum)
by
majd_wadi
on 12/7/2009
Re: Calendar mouseover event
Hi again azyle here's the code behind you should use: <%@RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="ajaxToolkit"%> <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <scripttype="text/javascript"language="javascript"> //Moveanelementdirectlyontopofanotherelement(andoptionally //makeitthesamesize) functionCover
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
majd_wadi
on 12/7/2009
Re: Calendar mouseover event
Hi azyle use the Ajax Animation Extende, it's really great. http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Animation/Animation.aspx and here's a great tutorials on how to use it: http://www.asp.net/learn/ajax/ Good Luck
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
majd_wadi
on 12/6/2009
Re: link button
hi arisoft you can use session to save your value and use it later. in the click method write the below code: Session.Add("Name",ValueAsObject) Good Luck
Posted to
Data Presentation Controls
(Forum)
by
majd_wadi
on 12/6/2009
Re: Conditionally write an image and hyperlink tag
hi noidea use the below code as an example how to hide a field when it's empty: <asp:Panel ID=pnlImage runat=server Visible=<%# Not String.IsNullOrEmpty(Eval("YourField")) %>> <asp:Label ID="Label1" runat="server" Text='<%# Eval("YourField") %>'></asp:Label> </asp:Panel> Good Luck.
Posted to
Web Forms
(Forum)
by
majd_wadi
on 12/6/2009
Re: Field length
in my applications i use the maxlengh property, it's really reliable. you can also use javascript function to validate the imput, but you don't need it, you will only need javascript when u use multiline textboxes.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
majd_wadi
on 12/6/2009
Re: Validate on Special Characters
Hi Tareg check this previous post: http://forums.asp.net/t/1235574.aspx Good Luck
Posted to
Client Side Web Development
(Forum)
by
majd_wadi
on 12/6/2009
Re: Field length
hi bhanu2217 in your form you should set the MaxLength property of the TextBox . or you can do the following: Dim YourString as String = TextBoxName.SubString(0,TheLengthYouWant) the above code will take the length you want from the entered text. Good Luck
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
majd_wadi
on 12/6/2009
Re: Validate on Special Characters
Hi Again Tareg, you can use regular expression validator for ur TextBox, check the below code as an example that meets what u want: <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="RegularExpressionValidator" ValidationExpression="[^<>:/\|?*"]*" ControlToValidate="TextBox2" ></asp:RegularExpressionValidator>
Posted to
Client Side Web Development
(Forum)
by
majd_wadi
on 12/6/2009
Page 1 of 16 (151 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
Channel 9:
Channel 9 Live at PDC09 Kurt DelBene
Channel 9:
Channel 9 Live at PDC09 Mike Anguilo
Channel 9:
Channel 9 Live at PDC09: Dean Hachamovitch
Channel 9:
Channel 9 Live at PDC09: Gary Flake
Channel 9:
Channel 9 Live at PDC09: Mark Russinovich and Patrick Dussud
Channel 9:
Ping 40: Black screen claims- retracted, Windows 7, Bing Maps, Office 2010
WindowsClient:
WPF Touch Basics
WindowsClient:
WPF Touch Basics
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
WindowsClient:
Holland America adds Surface to several ships in it’s new Mix lounge
ASP.NET:
RIA Services Link Listing #1
Channel 9:
Reactive Extensions API in depth: Merge
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online