.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How do I label my AJAX Slider Extender?

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
I'm using a slider extender to allow user to select a value from 1 to 7.  It works perfectly, but I can't figure out for the life of me how to label the damn thing.  I would like the slider to look something like these lovely examples from RadControls: http://demos.telerik.com/aspnet-ajax/slider/examples/default/defaultcs.aspxHere is the code for my slider:  <table align="center">         <tr>             <td>1.  This client is very important to my firm's office</td>             <td>                 <asp:TextBox ID="M1_Slide" runat="server"></asp:TextBox>             </td>             <td>                     <asp:TextBox ID="M1_Bound" runat="server" Width="30"></asp:TextBox>                 <asp:SliderExtender ID="TextBox1_SliderExtender"                      runat="server"               &nbs

View Complete Post

More Related Resource Links

Open different page using Ajax Modal PopUp Extender Control

The article Open different page using Ajax Modal PopUp Extender Control was added by Chintan Dave on Thursday, July 15, 2010.

You May use Modal Popup Extender to open some part of the page as Popup. But there we don't have any property to open other html or aspx page in Popup window.We can do it using IFrame control. What we have to do, just add IFrame control in Panel that

Ajax Popup Extender: Crashing the Browser



    I am using Ajax Popup extender as confirmation window. In my page, I am having multiple post backs for different cases. If I display ajax Popup extender, first few times it is working fine. After that, It is crashing the browser and i have to close the browser or it is closing the browser automatically.

Any Idea why it is happening? Did i miss anything?

My App details

IE Version : 6.0

.Net version: 3.5

Ajax version: 3.0.30512.20315



MaterPage Ajax calendar extender not working


AJAX with MasterPage not working.

Setup simple test site below, no error just not working. TIA

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ajaxDev.WebForm1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
  <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
    Enabled="True" TargetCo

Dynamic Ajax Calender Extender

hi i dynamically create Calender Extender and set TargetControl ID and PopupControl Id as dynamically created TextBox Its works fine in windows XP but i tried in Windows 7 return lots of javascript errors value can't be null then something.....   if i didn't add that dynamically created Calendar Extender than no pbm if add then got this errors wats the wrong in windows 7 OS   i m using Vs2008 SP1, Latest Ajax Control Toolkit 

Problem with Ajax calendar extender visibility

sir i am using ajax calender extender in textbox below this textbox i am using a panel there is a gridview that show data.problem is when i click the textbox half of the calender id hiden behind the panel how to solve this problem. 

Ajax Calendar Extender Question (about disable pass date)

HiI am wondering if it has anyway to disable the past day on the Ajax Calendar Control, previously, when we use CalendarExtender, we need to put a asp:Calendar and a textbox. we can use FindControl to find the calendar control and disable the past days.I am wondering is there anyway  could do the same stuff?Another question is how could I read the user selected date to the Date variable?Do i need to convert the date from the TargetControl ? E.g. Convert.ToDateTime(txt_DATE.text) ?Please let me know if you want me to explain more.Many thanksChi 

MVC + WCF + Ajax tool kit( autocomplete extender)

I need to implement the above combination and am totally lost . Any help , pointers, useful links will be appreciated

AJAX Slider Question

I realized I incorrectly posted my code when I originally posted this query so I will try again.  I am trying to use a Slider Extender with the values 1.00 to 7.00.  The Slider works properly but I would like to add labels to the slider with the values 1 thru 7.  Any guidance would be greatly appreciated!<asp:TextBox ID="M5_slide" runat="server"></asp:TextBox> <asp:TextBox ID="M5_Bound" runat="server" Width="30"></asp:TextBox> <asp:SliderExtender ID="M5_SliderExtender" runat="server" Enabled="True" EnableHandleAnimation="true" Decimals="2" Maximum="7" Minimum="1" Orientation="Horizontal" TargetControlID="M5_Slide" BoundControlID="M5_Bound"> </asp:SliderExtender>

Ajax Calendar Extender Within Gridview

I'm tasked with creating an editable gridview which contains several columns for input including a Start Date and End Date column. All columns are created dynamically at runtime based on a user's selection in a dropdown list. I would like to have an Ajax Calendar Extender attached to all text boxes in the Start and End Date Columns but since the table is made dynamically I need to add it in code behind. Most examples I've seen add ajax calendars to a gridview using template columns but i can not do this in my case. The following is my handling of the rowdatabound event - How do i edit this to attach a calendar extender to columns 1 and 2?1 protected void GridView1_RowDataBound(Object sender, GridViewRowEventArgs e) 2 { 3 TextBox txt; 4 if (e.Row.RowType == DataControlRowType.DataRow) 5 { 6 for(int i = 0; i < e.Row.Cells.Count; i++) 7 { 8 for (int j = 0; j < e.Row.Cells[i].Controls.Count; j++) 9 { 10 if (e.Row.Cells[i].Controls[j] is TextBox) 11 { 12 txt = (TextBox)e.Row.Cells[i].Controls[j]; 13 if (txt != null && Page.IsPostBack) 14 { 15 txt.Text = Request.Form[txt.UniqueID]; 16

AJAX Slideshow extender on Master Page

 I am pretty much a novice at AJAX.  I really appreciate the How To videos for ASP.net and AJAX.<> My problem is this.  I would like to have a very simple slideshow running on my Master Page.  I can get a slideshow on my AJAX enabled .aspx pages without any problem, using the examples in the video.<>When I create a Master Page/Content pages site with an AJAX ScriptManager and SlideShowExtender on my Master Page and move the functioning slideshow code onto the Master, it does not seem to run.<>I would appreciate any input.  Thanks.  Master Page Code:<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPageTwo.master.cs" Inherits="MasterPageTwo" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Untitled Page</title>     <asp:ContentPlaceHolder id="head" runat="server">     </asp:ContentPlaceHolder> </head> <body>     <fo

trying to show new image in ajax slidehow extender immediately after uploading it

 hi,   On my aspx page I have a slidshow extender.   In the code behind I am filling a data table from the datbase and using GetSlides() Method to show the images in the slideshow. The problem is I have a file upload control on the page as well. When I upload  a new file I am expecting it to show in the slideshow after postback but it does not. Only when I click refresh again or cause another postback the second time does the new image show.   My code behind    private static DataTable tblData = new DataTable(); protected void Page_Load(object sender, EventArgs e)         string strSQL = "(my select query is here";        SqlConnection conn = new SqlConnection("Data Source=(mydatasource here");        conn.Open();            SqlDataAdapter da = new SqlDataAdapter(comm);        tblData = new DataTable();        da.Fill(tblData);         conn.Close();           // set the initial image        if (tblData.Rows.Count > 0)        {    

Master Page, web service and Ajax autocomplete extender problem.

 I will appreciate very much any help about this issue.  I have been dealing with it for the last week and I couldn't detail and complete examples about this issue. The problem: I have a text box and ajax autocomplete control extender in my Master Page that it is not working at all.  When I type some characters on the text box it doesn't trigger the autocomplete. I have a web service that contains the function code. I est my code on a single Web Page (No Master Page) and it works perfectly.  Also, it works fine if I include the text box and the extender on the Content Page instead of on the Master Page.  It is important to keep the text box in the Master Page for me. I am using Visual Studio 2008 and ASP 3.5.   tHANK YOU VERY MUCH. here is my code:   MASTER PAGE. <%@ Master Language="VB" AutoEventWireup="true" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajax" %> <%@ Import Namespace = "System.Data" %> <%@ Import Namespace = "System.Data.SQLClient" %> <%@ Import Namespace = "System.Web.Script.Services" %> <%@ Import Namespace="System.Web" %> <%@ Import Namespace="System.Web.Services&

How to display the date only till current date in ajax calendar extender .

Hi,1) How can i display the date only till current date in ajax calendar extender ?2)How to validate the date in one TextBox with the Date in another TextBox ?    Please Help me ...

Ajax Modal Popup extender



I have an ajax modal popup extender in update panel.  The modal popup extender has a label , checkbox and a dropdown list. When i open the popup first time (i.e Page_load) and select something and click on ok the data is populated correctly in another grid. If i open the popup second time and select some data and click on ok  it is populating the grid with the current selected data as well as previously selected data. Please provide me with the solution with this issue..




gridview row update,cancel using ajax hovermenu extender



i have simple gridview 

<--asp:GridView ID="grd" runat="server" AutoGenerateColumns="false" 
            AllowPaging="true" PageSize="5" onpageindexchanging="grd_PageIndexChanging" 
            onrowcancelingedit="grd_RowCancelingEdit" onrowdeleting="grd_RowDeleting" 
            onrowediting="grd_RowEditing" onrowupdating="grd_RowUpdating">
            <--asp:TemplateField HeaderText="Id">
                    <--asp:Label ID="lbl" runat="server" Text=''><--/asp:Label>
            <--asp:TemplateField HeaderText="Name">
                    <--%# Eval("Name") %>
                    <--asp:TextBox ID="txtEditName" runat="server" Text=''><--/asp:TextBox>
            <--asp:CommandField ButtonType="Link" EditText="Edit" Header

How to convert Ajax Extender v3.5 to 4.0



I have some Ajax Extender written in V3.5 and working fine with Ajax Control Toolkit 3.5.

Now my project needs to move to AjaxControlToolkit v4.0.

It has been found that whole design of AjaxControlToolkit solution has been changed.

We no longer have js file with class file in AjaxControlToolkit project, instead they are in ScriptOutput folder.

Does anyone have idea how can I use my extenders written in v3.5?

Thanks in advance.

Problems with AJAX slider and autopostback=true ?


I have three AJAX sliders and each has a:

<asp:AsyncPostBackTrigger ControlID="Slider1" EventName="TextChanged" />
<asp:AsyncPostBackTrigger ControlID="Slider2" EventName="TextChanged" />
<asp:AsyncPostBackTrigger ControlID="Slider3" EventName="TextChanged" />

When I do a TextChanged event on slider1 (by dragging the slider, changing the value), the protected void Slider1_TextChanged(object sender, EventArgs e) event FIRES,  however, the TWO other sliders, protected void Slider2_TextChange, and protected void Slider3_TextChange  also FIRES.  What gives?  why do they fire when I am physically only sliding the slider1 across.  The two other sliders values did not change on the webform, yet the event fired.

In order for the event to fire for slider1, I had to insert "Autopostback=true" in the <asp:TextBox ID="Slider1" autopostback="true" OnTextChanged="Slider1_TextChanged">.  For <asp:TextBox2> and <asp:Textbox3> I did not put the autopostback event for now.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend