Search

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

Matching Posts

  • Re: css & body background image

    There is a trick most web designers use: Repeat-x css property. That way your small image will cover the entire area along the x axis (horizontally). For eg take a look at this website. http://tonyyoo.com/v2/ If you have a large monitor ~ 22". The background image will seem to be a large one, but infact its 428px × 546px. The image just repeats itself along the x axis. This trick works when the background image has a symmetry. This website uses a 1px width image for the background. http://www
    Posted to Client Side Web Development (Forum) by _kalesh_ on 11/7/2009
  • Re: Need help keeping items on a page

    ASP.NET File upload control will always reset on a postback. Its a security feature and you cannot do anything about it. You can use javascript/jquery to prevent postbacks. I would suggest to go for a file upload plugin. http://www.uploadify.com/ For more information on file upload you can take a look at these videos. #32 | [How Do I:] Simple File Uploads in ASP.NET #33 | [How Do I:] Multiple File Uploads in ASP.NET 2 #34 | [How Do I:] Multiple File Uploads in ASP.NET 1
    Posted to Data Presentation Controls (Forum) by _kalesh_ on 11/6/2009
  • Re: cross domain login to replace asp.net forms authentication

    From: Forms Authentication Configuration and Advanced Topics By default, the keys used for encryption and validation are generated automatically for each application, and these keys are stored in the Local Security Authority (LSA). In short, the default settings guarantee unique keys on a web server-by-web server and application-by-application basis. Consequently, this default behavior will not work for the two following scenarios: 1. Web Farms 2. Cross Application Ticket Sharing When working in
    Posted to Security (Forum) by _kalesh_ on 11/6/2009
  • Re: Problem in search functionality...

    If you need an immediate solution, you can try Dynamic SQL. Build the where clause dynamically and execute the sql query with EXEC. declare query varchar(max) set query = 'Select ... WHERE ' If (@parameter1 != null) query += 'parameter1Col =' + '''' @parameter1 + '''' + ' AND' If (@parameter2 != null ) query += 'parameter2Col =' + '''' @parameter2 + '''' + ' AND' ..... Finally remove the last AND
  • Re: Will the quantity of images for my photo viewer affect pageload?

    If the images are already in a compressed format like jpeg 80% quality, I dont think you will get any major benift from further compression.
    Posted to Client Side Web Development (Forum) by _kalesh_ on 11/4/2009
  • Re: C# How to update a data base with a DataSet?

    Have you specified the update command?. I dont see it in UpdateDB Method. Try to debug and check the row status. Only the rows which are Added/Modified will be updated by the table adapter. MSDN: When AcceptChanges is called, any DataRow object still in edit mode successfully ends its edits. The DataRowState also changes: all Added and Modified rows become Unchanged , and Deleted rows are removed. The AcceptChanges method is generally called on a DataTable after you attempt to update the DataSet
  • Re: Problem in search functionality...

    Hi Sneha, Stored proc parameters are of type float, but you are sending strings. cmd.Parameters.Add("@weight", SqlDbType.Float).Value = TextBox3.Text.Trim(); cmd.Parameters.Add("@length", SqlDbType.Float).Value = TextBox4.Text.Trim(); cmd.Parameters.Add("@width", SqlDbType.Float).Value = TextBox5.Text.Trim(); cmd.Parameters.Add("@height", SqlDbType.Float).Value = TextBox6.Text.Trim(); Use Convert.ToDouble() cmd.Parameters.Add("@weight", SqlDbType
  • Re: Problem in search functionality...

    Thats because TextBox3.Text value cannot be converted into a double. Its not a valid value. For eg You cannot convert "40000kg" to a double.
  • Re: Problem in search functionality...

    if (Value is null or String.Empty) //Dont add the parameter else //Add the parameter. cmd.Parameters.Add( "@weight" , SqlDbType.Float).Value = Convert.ToDouble(TextBox3.Text.Trim()); ----------------------------- So when the value is null or string.empty the parameter wont be passed. Since you have set the default value for parameters as null, the parameters which are not passed will become null. In short you just need to add the valid parameters.
  • Re: Problem Understanding The Page Life Cycle

    This video should help you out. Page Lifecycle Events
    Posted to Web Forms (Forum) by _kalesh_ on 11/1/2009
Page 1 of 11 (107 items) 1 2 3 4 5 Next > ... Last »