Redirection pronblem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ravikanth[MVP]

    #1

    Redirection pronblem

    Hi


    Please clarity whether you are inserting data
    irrespective of valid or invalid into the database? After
    sucessfull insert you are redirecting to a new page?

    Ravikanth[MVP]

    [color=blue]
    >-----Original Message-----
    >Hi,
    >
    >I have a page which uses the folllowing the validation
    >controls.
    >
    > ValidationSumma ry1
    > Regular Expression Validator
    > Compare Validator
    > RangeValidator
    > Button Control
    >
    >After clicking the button control the code update the
    >database and redirects to a particular page in the
    >browser. I have written the database update code in
    >btn_create_Cli ck also tried btn_create_Comm and it[/color]
    updates[color=blue]
    >the database properly but does not redirect the form.[/color]
    This[color=blue]
    >happens only when any of the wrong inputs are entered[/color]
    not[color=blue]
    >satisfying the criteria mention in any of the[/color]
    validators.[color=blue]
    >
    >Pls suggest me a solution.
    >
    >Thanx
    >.
    >[/color]
  • Platino

    #2
    Redirection pronblem

    Yes i am update data into the database , its is also
    executing the update statement, what i found was the
    redirection does not happen when smartnavigation for the
    page is true and if before submittting some validation
    control shown an error.


    [color=blue]
    >-----Original Message-----
    >Hi
    >
    >
    >Please clarity whether you are inserting data
    >irrespective of valid or invalid into the database? After
    >sucessfull insert you are redirecting to a new page?
    >
    >Ravikanth[MVP]
    >
    >[color=green]
    >>-----Original Message-----
    >>Hi,
    >>
    >>I have a page which uses the folllowing the validation
    >>controls.
    >>
    >> ValidationSumma ry1
    >> Regular Expression Validator
    >> Compare Validator
    >> RangeValidator
    >> Button Control
    >>
    >>After clicking the button control the code update the
    >>database and redirects to a particular page in the
    >>browser. I have written the database update code in
    >>btn_create_Cl ick also tried btn_create_Comm and it[/color]
    >updates[color=green]
    >>the database properly but does not redirect the form.[/color]
    >This[color=green]
    >>happens only when any of the wrong inputs are entered[/color]
    >not[color=green]
    >>satisfying the criteria mention in any of the[/color]
    >validators.[color=green]
    >>
    >>Pls suggest me a solution.
    >>
    >>Thanx
    >>.
    >>[/color]
    >.
    >[/color]

    Comment

    Working...