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:777763
More Search Options
RSS Available
Matching Posts
Re: add to numeric value of text box
Try declaring val1 and val2 outside of the try/catch block. Since you declare it on the inside, it can only see it within the try block.
Posted to
Client Side Web Development
(Forum)
by
DrivenTooFar
on 9/21/2009
Re: griview
Basically, you will do it with these two lines of code: GridView1.DataSource = myDataSource; GridView1.DataBind(); A common object to use for the gridview's datasource is something like a dataset or a datatable but I think it can take most objects that hold a list of items.
Posted to
Data Presentation Controls
(Forum)
by
DrivenTooFar
on 9/21/2009
Re: Changing text on a button in code-behind
This is something that needs to be setup in JavaScript, but in your code behind in order for the postback to work. Try putting this code into the Page_Load event of your page: MyButton.Attributes.Add("onclick", " this.value = 'Working'; this.disabled = true;" + ClientScript.GetPostBackEventReference(MyButton, null) + ";");
Posted to
Web Forms
(Forum)
by
DrivenTooFar
on 9/19/2009
Re: GridView - ItemTemplate - CheckBox Value
First of all, the value is not being read from the database because you don't have the binding setup. That can be accomplished with a little bit of code. Also, in order for this to work correctly (I think), IsVisible needs to be a bit type from the database. Try this code and see if it works: <asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Bind("IsVisible") %>' />
Posted to
Data Presentation Controls
(Forum)
by
DrivenTooFar
on 9/19/2009
Re: How to change indivitual menu item font size
Try looking at this link. It has two examples: one of them has you setup everything to be selected in the code while the other just has you write the styles inline. http://forums.asp.net/t/1163268.aspx
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
DrivenTooFar
on 9/9/2009
Re: Default sorting for GridView
How are you getting your data? If you are getting it from a database then the easiest way to do it is to order it in your query. You can do this from pretty much any datasource so I would recommend ordering it before you bind it to your gridview.
Posted to
Data Presentation Controls
(Forum)
by
DrivenTooFar
on 9/9/2009
Re: Displaying Date without the default "12:00:00 AM"
What event are you loading the DropDownList? My guess would be in the Page_Load event. If this is true, then what is happening is that your DropDownList is getting cleared in the Page_Load event. Since this event fires before the Button event, it is reloading the DropDownList and leaving the selected value as the first value in the list. If this is the scenario, then the easiest way to fix it is to do something like this: If Not IsPostBack Then Dim ddDR As SqlDataReader = Nothing Dim ddSqlConnection
Posted to
Getting Started
(Forum)
by
DrivenTooFar
on 8/27/2009
Re: Displaying Date without the default "12:00:00 AM"
Try adding this line before PDevotionList1.DataBind(): PDevotionList1.DataTextFormatString = "{0:MM/dd/yyyy}"
Posted to
Getting Started
(Forum)
by
DrivenTooFar
on 8/27/2009
Re: Does an .aspx must have a <form> tag?
No, but it depends on what you are doing. If you want any of your controls to interact with the code then you will need to have a form tag.
Posted to
Web Forms
(Forum)
by
DrivenTooFar
on 8/27/2009
Re: image url
I'm pretty sure that "Path='..Images/visitor/visitor.gif'" or "Path='~Images/visitor/visitor.gif'" won't work, but the other ones will. Of course, depending on where your images are located will determine which one you will want to use. Please refer to this URL for more information. If you need any more clarification, let us know. http://msdn.microsoft.com/en-us/library/ms178116.aspx
Posted to
Web Forms
(Forum)
by
DrivenTooFar
on 8/27/2009
Page 1 of 23 (226 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
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
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online