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:82743
More Search Options
RSS Available
Matching Posts
Re: Image button with use submit behavior = false
It will tell you which control caused the postback; you can test for it in page load perhaps.
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: DropDownList Binding Question
I will need to take a closer look at your source code. This is the expected behavior if you are binding the DropDownList on every postback; the user selected value gets overwritten. What do you see after the page comes back?
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: DropDownList Binding Question
You probably want to bind your DropDownlist on the first request. If Not IsPostBack Then ' Bind DropDownList End If
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: Image button with use submit behavior = false
Have you tried this: Dim ControlID As String = Request.QueryString( "__EVENTTARGET" )
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: How to validate?
Oh, it might be worthwhile checking out the CustomValidator control also. I haven't used it too much, but it might be useful to you. http://msdn2.microsoft.com/en-us/library/9eee01cx(VS.71).aspx
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: How to validate?
Well, those are two good reasons. You should be able to accomplish this as suggested earlier, by returning false from your javascript validation function. The only trick is that you also need to use the return statement from your OnClientClick attribute: OnClientClick="return Validate();"
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: How to validate?
Have you tried using a RequiredFieldValidator control? This is exactly what it is intended for: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.requiredfieldvalidator(VS.71).aspx
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/11/2007
Re: Error: The type or namespace name could not be found
These are warnings, so they won't prevent the code from compiling. It is possible that asp.net 1.1 was used originally.
Posted to
Getting Started
(Forum)
by
NetProfit
on 9/11/2007
Re: Error: The type or namespace name could not be found
Check out csc /? You will notice there is a parameter called reference: You can use it to add a reference to a dll (.Net assembly). If you were building your solution with VS2005 you would have added a project or file reference to the project to accomplish the same goal. I suspect you will run into more dependency issues once you've resoved this one. I hope you have your friend's permission to reverse engineer his code. Cheers,
Posted to
Getting Started
(Forum)
by
NetProfit
on 9/10/2007
Re: Query on Update
I suspect the problem here is that you are overwriting these textboxes (the ones that won't update) every time your page does a postback. If you look at your page load event handler, it makes a call to Read_Database() on every postback. Note that this code runs before any of your button click event handlers do, so any values entered by the user are being overwritten during page load. By the time your button click event handlers run, the values in the textboxes in question have been replaced with
Posted to
Web Forms
(Forum)
by
NetProfit
on 9/10/2007
Page 1 of 122 (1218 items) 1
2
3
4
5
Next >
...
Last »
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
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online