TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


ASP.NET Wizard Control - Jump to a WizardStep Programmatically - HowTo

The MoveTo method can be used to move to a particular step programmatically. The method's prototype is as follows:


public void MoveTo(WizardStep step)

 
The method is a simple wrapper around the setter of the ActiveStepIndex property and requires you to pass a WizardStep object, a requirement which can sometimes be problematic. If you want to jump to a particular step, however, setting the ActiveStepIndex property directly is just as effective. This can be useful in scenarios where a user's choice in a previous step eliminates the need to show a future step. For example, if a user selects "no gift wrapping" when making an online purchase, there's no point in showing them the step that presents gift wrapping options. When doing nonlinear navigation such as this, it's often beneficial to disable the sidebar display. Otherwise, a user would be able to randomly go to steps that might not have been part of their path.

 


Categories: ASP.NET
Posted by Admin on Thursday, April 16, 2009 6:01 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET Tip - The control with ID 'conCave' requires a ScriptManager on the page Exception

It happens when your page code references a ScriptManager but your Page or MasterPage does not have it referenced, therefore just add:

<ASP:ScriptManager ID="SM1" runat="server />


Categories: ASP.NET
Posted by developer on Tuesday, April 07, 2009 3:43 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET Image Resources

  1. resizing uploaded image

Tags: ,
Categories: ASP.NET
Posted by developer on Monday, April 06, 2009 5:37 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET Controls Articles

  1. Programmatic access to ValidationSummary control
  2. ASP .NET - A ValidationSummary with some style
  3. Removing SPAN-tags around server control
  4. ASP.NET 2.0 Wizard Control
  5. Using Extension methods in ASP.NET 3.0 and 3.5 with generics
  6. Pimpin validation Summary with CSS
  7. How to add a required validator to a CheckBoxList
  8. Hierarchical GridView With Clickable RowsHierarchical GridView With Clickable Rows
  9. ASP.Net GridView Checkbox Javascript Validation
  10. How to implement the smart navigation features in ASP.NET 2.0
  11. How To Add CheckBox And Image Button Columns In GridView

Categories: ASP.NET
Posted by developer on Sunday, April 05, 2009 6:49 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET Tab Order

  1. Tab Key in ASP.NET

Tags: ,
Categories: ASP.NET
Posted by developer on Tuesday, March 31, 2009 3:49 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Loop through an ASP.NET Page controls using the T way

public static T FindControl<T>(this Control control, string controlId) where T : Control
{
    return (T)control.FindControl(controlId);
}

 


Categories: ASP.NET | C#
Posted by Admin on Wednesday, March 11, 2009 7:56 AM
Permalink | Comments (0) | Post RSSRSS comment feed