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:643321
More Search Options
RSS Available
Matching Posts
Dirty way to work with modalpopups and validation?
Hi all, I have been trying, for a couple of days actually, to accomplish this task: On a community member's homepage, he/she should be able to update the info on it (of course). In order to do this, I have been trying to use modal popup extenders. It worked fine until I added validation code, as I want my validation to be done in server code. Thus, I needed to use updatepanels, and that's when the problems arose (things not updating properly etc). So here's what I did (I post this code
Posted to
Web Forms
(Forum)
by
pettrer
on 11/27/2009
Re: Page.Load event in master page fires twice?
[quote user="babuji_godem"]The explanation for this odd behavior is very simple: When you create an img element and leave its src attribute empty, it will automatically set as your root directory (e.g. “http://www.mysite.com/”). Therefore, when the Page_Load event fire for the first time, with the original post back (POST request) the Page.IsPostBack will be set with “true”. But when the server response will be parsed at the client side, another GET request will be fired to the server,
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
pettrer
on 11/25/2009
Re: Page.Load event in master page fires twice?
[quote user="babuji_godem"]The explanation for this odd behavior is very simple: When you create an img element and leave its src attribute empty, it will automatically set as your root directory (e.g. “http://www.mysite.com/”). Therefore, when the Page_Load event fire for the first time, with the original post back (POST request) the Page.IsPostBack will be set with “true”. But when the server response will be parsed at the client side, another GET request will be fired to the server,
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
pettrer
on 11/25/2009
Retrieving clients values in textboxes in a panel
Hi all, I have a very strange problem when trying to get values from textboxes in a panel. It seems that the textboxes don't care about the user's input, but only remembers the values set from the server. The panel is displayed when a button is clicked (thanks to a modalpupupextender), but even when I remove the modal thingy (thus let it run as a normal panel), it still yields the same disappointing result. This code only give the original value: Dim mate As String = DirectCast(pModal.FindControl
Posted to
Web Forms
(Forum)
by
pettrer
on 11/18/2009
Re: Retrieving clients values in textboxes in a panel
It worked like charm! I'm a bit rusty, having worked with Winforms instaed of Asp.Net the last year... Thanks both for your speedy replies! /Pettrer
Posted to
Web Forms
(Forum)
by
pettrer
on 11/18/2009
Re: Sql Update from several tables
Hi there, Thank you so much - it worked! I wish that I (that's my employer) could thank you enough! Pettrer
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
pettrer
on 1/30/2009
Re: Sql Update from several tables
Hi, Thanks for trying to help me. This is the code I thought should do the trick, but it doesn't work. I get the following error: "The multi-part identifier "registrering.rclientid" could not be bound". I simply need to update all rows in the table seminarieclient where rseminarierubrikID is 656, and the same row has an id that is the same id in another table and that table has a row with a certain crieria. UPDATE seminarieclient SET seminarieclient.rseminarierubrikid = 723
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
pettrer
on 1/30/2009
Re: Sql Update from several tables
Hi again, Thank you very much! I'm a bit worried though - this is what I'd think the above code does (note that this code is beyond my sql knowledge): 1. Check how many rows in the first table fulfill the criteria. 2. Set the new value for any row in the table, as long as the if statement is true So, let's say there are 60 rows that fulfill the criteria, wouldn't that mean the @count value would be 60? And if so, wouldn't all rows in the table be updated (since 60 > 0 )? Thanks
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
pettrer
on 1/30/2009
Sql Update from several tables
Hi, I should know this but realise that I have always only performed sql updates based on values in the one and same table. This is what I have update plants set plants.rforestid = 723 WHERE EXISTS (select plants.* from plants, flower where(plants.rforestid = 656 and plants.oldid = flower.oldid and flower.colour = 'ha10ff' and flower.type = 'h08')) What I need is - I thought - simple. I want the rforestid in Plants to be set to a new value if the OldID in the Plants table exists in
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
pettrer
on 1/30/2009
VS Express, SqlServer Express, and Deployment
Hi, I've used Asp.Net for over two years. Each time I'ved developed a new web site for scratch, this is what I have needed to do in order to deploy my database to a third party host (as they usually run SqlServer and not SqlServer Express). 1. Create a new .mdf file in the application's folder (under My Documents/Visual Studio 2008/Websites/The website's name/App_Data). 2. Manually create and attach a new db, and then also recreate the db structure in SQL Server's Data folder
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
pettrer
on 10/26/2008
Page 1 of 33 (328 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online