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 Articles 2009 Q2


Categories: ASP.NET
Posted by developer on Sunday, May 31, 2009 5:12 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET and JQuery articles

  1. Lazy Loading jQuery Tabs with ASP.NET
  2. Handling JSON Arrays returned from ASP.NET Web Services with jQuery
  3. Build your own Whois Lookup with ASP.NET and jQuery
  4. Using Client-Side Custom Events in ASP.NET Applications
  5. Querying SharePoint List Items using jQuery
  6. JQuery - get a handle on a server element in javascript without using <%= elem.ClientID %>
  7. Smooth Cascading Effect with ASP.NET Panels using jQuery
  8. jQuery AJAX calls to a WCF REST Service
  9. CustomValidationControl and jQuery
  10. jMsAjax (jQuery Ms Ajax Plugin)
  11. JQuery Ajax with Class Arrays
  12. Consume an ASP.NET WebService returning List<> with Dates using jQuery
  13. GridView Confirmation Box Using JQuery BlockUI
  14. Setting the Default Input Focus and Default Button with JQuery: Thin ASP.NET 5
  15. Creating a Simple AJAX Master-Details View Using jQuery, JSON and jTemplates in ASP.Net
  16. Building Cascading DropDownList in ASP.Net Using jQuery and JSON
  17. Using complex types to make calling services less… complex

Categories: ASP.NET | Jquery
Posted by developer on Sunday, May 03, 2009 2:54 PM
Permalink | Comments (1) | Post RSSRSS comment feed

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 - Change Wizard Control Buttons Caption

protected void wizRoles_NextButtonClick(object sender, WizardNavigationEventArgs e)

{
WizardStep currentStep = wizRoles.WizardSteps[e.CurrentStepIndex] as WizardStep;    
WizardStep nextStep = wizRoles.WizardSteps[e.NextStepIndex] as WizardStep;[more]

 switch (wizRoles.WizardSteps[e.NextStepIndex].StepType)

    {
case WizardStepType.Auto:

break;    
case
WizardStepType.Complete:

       break;

case WizardStepType.Finish:

break;

case WizardStepType.Start:

break;

case WizardStepType.Step:

SetupNextPreviousButtons(nextStep);

break;

default:

break;

}}


private void SetupNextPreviousButtons(Control nextStep)

{

    Button nextButton = (Button)wizRoles.FindControl("StepNavigationTemplateContainerID").FindControl("StepNextButton");

    Button previousButton = (Button)wizRoles.FindControl("StepNavigationTemplateContainerID").FindControl("StepPreviousButton");

 

    if (nextStep.ID == "stepSearchUsers")

    {

        nextButton.Text = "Create User";

        previousButton.Text = "Providers List";

 

    }

    else if (nextStep.ID == "stepCreateUser")

    {

        nextButton.Text = "Assign Roles";

        previousButton.Text = "Search Users";

    }

}

 


Categories: ASP.NET
Posted by Admin on Monday, April 13, 2009 8:28 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET ViewState Resources


Categories: ASP.NET
Posted by developer on Tuesday, April 07, 2009 11:20 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

HTTP Handlers and Modules in ASP.NET

  1. 15 Seconds : HTTP Handlers and HTTP Modules in ASP.NET
  2. Use an HttpHandler to stop bandwidth leeching of your images
  3. Roll Your Own HttpHandler
  4. Scalable Apps with Asynchronous Programming in ASP.NET
  5. Protect Your Downloadable Files Using HTTP Handlers
  6. How To Create an ASP.NET HTTP Handler by Using Visual C# .NET
  7. Two ASP.NET HttpHandler Image Hacks
  8. Authenticated File Access using HTTP Handler

Categories: ASP.NET
Posted by developer on Saturday, April 04, 2009 5:16 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