Search

You searched for the word(s): userid:643321

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,
  • 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,
  • 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
  • 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
  • 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
  • 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
  • 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
Page 1 of 33 (328 items) 1 2 3 4 5 Next > ... Last »