Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

psid23

@psid23
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Datagrid paging and IFRAME
    P psid23

    Hi, I have a master datagrid in an asp.net page. Selecting a record in the master datagrid loads the details datagrid. This worked fine as long as I had both the datagrids on the same asp.net page. Now I moved the details datagrid to a seperate asp.net page that I included in an IFRAME element in the asp.net page that contains the master datagrid. On doing this I have taken care that when a record is selected on the master datagrid the id is passed to the details datagrid in the IFRAME. So selecting a record is now properly loading the data in the details datagrid in the IFRAME page. Both the Master and the Details datagrid have paging enabled. Now after using the IFRAME I am facing the following problems: 1> I select the record in the Master datagrid and the Details datagrid loads with paging in the IFRAME. If I click on any of the pages of the Master datagrid, paging has stopped working properly : the postback takes place but the next page is not loaded for the datagrid. 2> If I click on any page no. of the Details datagrid in the IFRAME I get the following exceptiion: Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. The paging for the Master Datagrid works fine if I do not have the IFRAME element The paging for the Details datagrid works fine if I independently load the page with the required params passed. In case if anyone has faced such a problem before and knows the solution please let me know Thanks in advance :) Sid

    ASP.NET csharp asp-net help

  • Datagrid Paging not working when using rowfilter on dataview
    P psid23

    Hi, I was displaying data in a datagrid using the dataview as the datasource for the datagrid. Paging worked properly when i used sort property on the dataview, however it failed when i used the rowfilter property on the dataview to filter records. If anyone has faced this problem before please let me know the solution at the earliest. Thanks & Regards, Siddharth P

    ASP.NET help

  • Adding events to dynamically created controls
    P psid23

    thanks for the solution :)

    ASP.NET csharp asp-net question

  • Adding events to dynamically created controls
    P psid23

    how will i get the event name when the control name is not available at design time?

    ASP.NET csharp asp-net question

  • Adding events to dynamically created controls
    P psid23

    Hi, I am dynamically creating asp.net controls at runtime. I have 2 dropdown lists. When I change the item selected in the first drop down list I want to load the second drop-down list. How shall I add the SelectedIndexChanged event handler for the first dropdown list? Please let me know at the earliest since this is really urgent. Thanks in advance. Sid :)

    ASP.NET csharp asp-net question

  • Applying style to an HTML Anchor in asp.net code-behind file
    P psid23

    Hi, I want to apply style(e.g. class) to an HTML anchor tag in the code-behind asp.net page. How can this be done? Thanx in advance, Siddharth P

    ASP.NET csharp html asp-net question

  • Email validation
    P psid23

    You can also try this piece of code. Assumptions: 1. Your Windows form has a text box with the name txtEmailID 2. You have using System.Text.RegularExpressions at the top of your form. 3. Call the ValidateEmail function in the event where you want to validate the email id. private bool ValidateEmail() { bool checkFlag = false; string EmailID = txtEmailID.Text.Trim(); if (EmailID != "") { Regex regex = new Regex(@"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"); Match match = regex.Match(EmailID); if (match.Length == EmailID.Length) { checkFlag = true; } else { MessageBox.Show("Enter a valid email-id"); checkFlag = false; txtEmailID.Focus(); } } else { MessageBox.Show("Enter Email ID"); txtEmailID.Focus(); } return checkFlag; } All the best. Siddharth P :)

    ASP.NET csharp tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups