Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
277 views
Hi All,
          I already use one dataset to bind the data. I want add some other rows in same radgrid. I dont want insert command item. i want to show values from two stored procedures in the same radgrid. please help me out.
   
Daniel
Telerik team
 answered on 26 Aug 2010
8 answers
281 views
I have a situation where I have a TreeNode that the user is associating data (via the OnNodeClick event) with other controls on the page. Meaning, if the user clicks on node1 and fills in data (to the right of the treeview), but doesn't save the data, then tries to click on node2, before they get to that node, I want to prompt them to Save their data first for node1 before moving to node2.

If the user responds No, I want the rest of the code in this event to not execute (which basically gets the info for the node2 they clicked) and stay at node1, instead of node2. If they respond Yes, I would like the rest of the code to execute and proceed to node2.

I can't get the radconfirm to work. I have the following code in the OnNodeClick event of the treeview.

RadAjaxManager1.ResponseScripts.Add("radconfirm('Are you sure you want to navigate to a different node without saving your data?', confirmCallBackFn);");

I have a RadAjaxManager in my markup and a javascript function as follows:

function

 

confirmCallBackFn(arg) {

 

 

if (arg == false) {

return

}

}


The RadConfirm box doesn't come up at all and proceeds with executing the code within the event....

How can I accomplish this with the Radconfirm? Please don't refer me to another post since I have scoured the internet & this website and am unable to find a concise way on how to do this relatively simple task. A simple code example would be great...
Bill
Top achievements
Rank 2
 answered on 26 Aug 2010
1 answer
748 views
Hello,

I'm using Telerik FileExplorer control with a custom provider from this KB article that allows to browse a shared folder in my local network.

It works fine when I specify a shared folder path like "\\myServer\mySharedFolder", however it does not work with a network path that has just a server name in it (e.g. "\\myServer").

I would like to be able to provide a server name and see the list of all shared folders on such server and then browse these folders.
Is it possible to do?

Thanks,
Michael
Michael
Top achievements
Rank 1
 answered on 26 Aug 2010
2 answers
166 views
Hi,

when i am loading around 1000 to 2000 event , radscheduler geting very slow.
we are written functionality to retrive the recurring event from the data base by reading the rule.
but it is very slow.

check the below code . can you please give me some idea. what's worng with my code.

in future there may around lakhs of appointments. what can we do if we want to improve the performance.

Thanking you
Shashi

   private void BindFamilyCalender()
        {
            string memberIDList = string.Empty;
            for (int counter = 0; counter < dlMyFamily.Items.Count; counter++)
            {
                CheckBox chkMember = (CheckBox)dlMyFamily.Items[counter].FindControl("chkMember");
                HiddenField hdMemberID = (HiddenField)dlMyFamily.Items[counter].FindControl("HidMemberID");
                if ((chkMember != null) && (chkMember.Checked == true))
                {
                    if (memberIDList.Equals(""))
                        memberIDList += hdMemberID.Value;
                    else
                        memberIDList += "," + hdMemberID.Value;
                }
            }
            int FamilyID = Convert.ToInt32(Session["FamilyID"].ToString());
            if (!string.IsNullOrEmpty(memberIDList))
            {
                Members members = qest.BusinessLogic.Member.SelectAllFamilyMembersByFamilyID1(FamilyID, memberIDList);
                RadCalenders radcals = new RadCalenders();
                RadCalenders radcals1 = new RadCalenders();
                RadCalenders radcals2 = new RadCalenders();
                radcals = AddAppointmentByType("2");  

                for (int i = 0; i < members.Count; i++)
                {

                    foreach (MemberCalendar memcal in MemberCalendarBase.GetFamilyMembersAppointmentsByFamilyIDMemberID(FamilyID, Convert.ToInt32(members[i].MemberID)))
                    {
                       
                        if ((members[i].FamilyMember.IsSharedCalenderWithFamily == true && memcal.IsConfidential == false) || Convert.ToInt32(Session["MemberID"].ToString()) == memcal.MemberID || (members[i].FamilyMember.IsSharedCalenderWithFamily == false && memcal.SpecialAppointment != 0))
                        {
                            RadCalender radcal = new RadCalender();
                            radcal.ID = memcal.MemberID;
                            radcal.StartDate = memcal.ApptStartDate.Value;
                            radcal.EndDate = memcal.ApptEndDate.Value;

                            radcal.Content = memcal.ApptContent;
                            radcal.RecurrenceRule = memcal.RecurrenceRule;
                            radcal.RecurrenceParentKey = Convert.ToInt32(memcal.MemberID);
                            radcal.MCID = memcal.MemberCalendarID;
                            if (members[i].FamilyMember.Color.ToString() != "")
                            {
                                radcal.Color = Convert.ToInt32(members[i].FamilyMember.Color);
                            }
                            radcal.IsAdmin = members[i].FamilyMember.IsAdmin.ToString();
                            radcal.Fullname = members[i].FirstName.ToString();                       
                            if (memcal.IsRepeating == true)
                            { radcal.IsRepeating = true; }
                            else
                            { radcal.IsRepeating = false; }

                            radcal.RecurrencePattern = memcal.RecurrencePattern;
                            radcal.RepeatingInterval = memcal.RepeatingInterval;
                            radcal.EventAssociated = memcal.EventAssociated;
                            radcal.Description = memcal.Description;
                            radcal.street = memcal.Street;
                            radcal.city = memcal.City;
                            radcal.state = memcal.State;
                            radcal.zip = memcal.Zip;
                            radcal.IsConfidential = (bool)memcal.IsConfidential; 
                            radcal.Types = 1;
                            radcal.SpecialAppointment = Convert.ToInt32(memcal.SpecialAppointment);

                            if (memcal.RecurrenceRule != "" && memcal.RecurrenceRule != null)
                            {
                                #region Reading recurrence rule for MemberCalener
                                RadCalender radcalRec;
                                Appointment recurringAppointment = new Appointment(radcal.ID, Convert.ToDateTime(memcal.ApptStartDate.Value),
                                Convert.ToDateTime(memcal.ApptEndDate.Value), radcal.Content, radcal.RecurrenceRule);

                                RecurrenceRange range = new RecurrenceRange();
                                range.Start = recurringAppointment.Start;
                                range.EventDuration = recurringAppointment.End - recurringAppointment.Start;

                                if (memcal.maxocc.ToString() != "")
                                {
                                    range.MaxOccurences = Convert.ToInt32(memcal.maxocc);
                                }
                                else
                                {
                                    range.MaxOccurences = 1;
                                }

                                string rruleAsString = "";
                                int DayOfMonth = 0;
                                int pIntervel;

                                if (recurringAppointment.RecurrenceRule.Contains("HOURLY") == true)      
                                {
                                    if (memcal.RepeatingInterval != "")
                                    {
                                        pIntervel = Convert.ToInt32(memcal.RepeatingInterval);

                                    }
                                    else
                                    {
                                        pIntervel = 1;

                                    }
                                    HourlyRecurrenceRule rrule = new HourlyRecurrenceRule(pIntervel, range);
                                    rruleAsString = rrule.ToString();

                                    foreach (DateTime occurrence in rrule.Occurrences)
                                    {
                                        radcalRec = new RadCalender();
                                        string pEndDate = (Convert.ToDateTime(occurrence.ToString()) + range.EventDuration).ToString();
                                        radcalRec.ID = memcal.MemberID;
                                        radcalRec.StartDate = occurrence;
                                        radcalRec.EndDate = Convert.ToDateTime(pEndDate);
                                        radcalRec.Content = memcal.ApptContent;
                                        radcalRec.RecurrenceParentKey = Convert.ToInt32(memcal.MemberID);
                                        radcalRec.MCID = memcal.MemberCalendarID;
                                        radcalRec.Types = 1;

                                        if (members[i].FamilyMember.Color.ToString() != "")
                                        {
                                            radcalRec.Color = Convert.ToInt32(members[i].FamilyMember.Color);
                                        }
                                        radcalRec.IsAdmin = members[i].FamilyMember.IsAdmin.ToString();
                                        radcalRec.Fullname = members[i].FirstName.ToString();

                                        radcalRec.RecurrencePattern = memcal.RecurrencePattern;
                                        radcalRec.RepeatingInterval = memcal.RepeatingInterval;
                                        radcalRec.EventAssociated = memcal.EventAssociated;
                                        radcalRec.Description = memcal.Description;
                                        radcalRec.street = memcal.Street;
                                        radcalRec.city = memcal.City;
                                        radcalRec.state = memcal.State;
                                        radcalRec.zip = memcal.Zip;
                                        radcalRec.IsConfidential = (bool)memcal.IsConfidential;
                                        if (memcal.maxocc.ToString() != "")
                                        {
                                            radcalRec.Maxocc = Convert.ToInt32(memcal.maxocc);
                                        }
                                        else
                                        {
                                            radcalRec.Maxocc = 1;
                                        }

                                        radcals.Add(radcalRec);
                                        radcals2.Add(radcalRec);
                                    }
                                }
                                if (recurringAppointment.RecurrenceRule.Contains("DAILY") == true)          // FOR DAILY APPOINTMENTS
                                {
                                    if (memcal.RepeatingInterval != "")
                                    {
                                        pIntervel = Convert.ToInt32(memcal.RepeatingInterval);
                                    }
                                    else
                                    {
                                        pIntervel = 1;
                                    }

                                    DailyRecurrenceRule rrule = new DailyRecurrenceRule(pIntervel, range);
                                    rruleAsString = rrule.ToString();
                                    hidRRule.Value = rruleAsString;
                                    foreach (DateTime occurrence in rrule.Occurrences)
                                    {
                                        radcalRec = new RadCalender();
                                        string pEndDate = (Convert.ToDateTime(occurrence.ToString()) + range.EventDuration).ToString();
                                        radcalRec.ID = memcal.MemberID;
                                        radcalRec.StartDate = occurrence;
                                        radcalRec.EndDate = Convert.ToDateTime(pEndDate);
                                        radcalRec.Content = memcal.ApptContent;
                                        radcalRec.RecurrenceParentKey = Convert.ToInt32(memcal.MemberID);
                                        radcalRec.MCID = memcal.MemberCalendarID;
                                        radcalRec.Types = 1;
                                        if (members[i].FamilyMember.Color.ToString() != "")
                                        {
                                            radcalRec.Color = Convert.ToInt32(members[i].FamilyMember.Color);
                                        }
                                        radcalRec.IsAdmin = members[i].FamilyMember.IsAdmin.ToString();
                                        radcalRec.Fullname = members[i].FirstName.ToString();
                                        radcalRec.RecurrencePattern = memcal.RecurrencePattern;
                                        radcalRec.RepeatingInterval = memcal.RepeatingInterval;
                                        radcalRec.EventAssociated = memcal.EventAssociated;
                                        radcalRec.Description = memcal.Description;
                                        radcalRec.street = memcal.Street;
                                        radcalRec.city = memcal.City;
                                        radcalRec.state = memcal.State;
                                        radcalRec.zip = memcal.Zip;
                                        radcalRec.IsConfidential = (bool)memcal.IsConfidential; 
                                        if (memcal.maxocc.ToString() != "")
                                        {
                                            radcalRec.Maxocc = Convert.ToInt32(memcal.maxocc);
                                        }
                                        else
                                        {
                                            radcalRec.Maxocc = 1;
                                        }
                                        radcals.Add(radcalRec);
                                        radcals2.Add(radcalRec);
                                    }
                                }
                                if (recurringAppointment.RecurrenceRule.Contains("YEARLY") == true)            
                                {
                                    int MonthOfDay = 0;
                                    if (memcal.monthday.ToString() != "")
                                    {
                                        MonthOfDay = Convert.ToInt32(memcal.monthday);
                                    }
                                    else
                                    {
                                        MonthOfDay = 1;
                                    }
                                    if (memcal.RepeatingInterval.ToString() != "")
                                    {
                                        // 21st May 2010 new code
                                        // new code on 21st May 2010 for early recurrence rule.
                                        string MonthIndex = memcal.RepeatingInterval.ToString();
                                        RecurrenceMonth MonthMask = RecurrenceMonth.None;
                                        switch (MonthIndex)
                                        {
                                            case "1":
                                                MonthMask |= RecurrenceMonth.January;
                                                break;
                                            case "2":
                                                MonthMask |= RecurrenceMonth.February;
                                                break;
                                            case "3":
                                                MonthMask |= RecurrenceMonth.March;
                                                break;
                                            case "4":
                                                MonthMask |= RecurrenceMonth.April;
                                                break;
                                            case "5":
                                                MonthMask |= RecurrenceMonth.May;
                                                break;
                                            case "6":
                                                MonthMask |= RecurrenceMonth.June;
                                                break;
                                            case "7":
                                                MonthMask |= RecurrenceMonth.July;
                                                break;
                                            case "8":
                                                MonthMask |= RecurrenceMonth.August;
                                                break;
                                            case "9":
                                                MonthMask |= RecurrenceMonth.September;
                                                break;
                                            case "10":
                                                MonthMask |= RecurrenceMonth.October;
                                                break;
                                            case "11":
                                                MonthMask |= RecurrenceMonth.November;
                                                break;
                                            case "12":
                                                MonthMask |= RecurrenceMonth.December;
                                                break;
                                            default:
                                                MonthMask |= RecurrenceMonth.January;
                                                break;
                                        }
                                        YearlyRecurrenceRule yrrule = new YearlyRecurrenceRule(MonthMask, MonthOfDay, range);
                                        rruleAsString = yrrule.ToString();
                                        foreach (DateTime occurrence in yrrule.Occurrences)
                                        {
                                            radcalRec = new RadCalender();
                                            string pEndDate = (Convert.ToDateTime(occurrence.ToString()) + range.EventDuration).ToString();
                                            radcalRec.ID = memcal.MemberID;
                                            radcalRec.StartDate = occurrence;
                                            radcalRec.EndDate = Convert.ToDateTime(pEndDate);
                                            radcalRec.Content = memcal.ApptContent;
                                            radcalRec.RecurrenceParentKey = Convert.ToInt32(memcal.MemberID);
                                            radcalRec.MCID = memcal.MemberCalendarID;
                                            radcalRec.Types = 1;
                                            if (memcal.monthday.ToString() != "")
                                            {
                                                radcalRec.Monthday = Convert.ToInt32(memcal.monthday);
                                            }
                                            else
                                            {
                                                radcalRec.Monthday = 1;
                                            }
                                            if (members[i].FamilyMember.Color.ToString() != "")
                                            {
                                                radcalRec.Color = Convert.ToInt32(members[i].FamilyMember.Color);
                                            }

                                            radcalRec.IsAdmin = members[i].FamilyMember.IsAdmin.ToString();
                                            radcalRec.Fullname = members[i].FirstName.ToString();

                                            radcalRec.RecurrencePattern = memcal.RecurrencePattern;
                                            radcalRec.RepeatingInterval = memcal.RepeatingInterval;
                                            radcalRec.EventAssociated = memcal.EventAssociated;
                                            radcalRec.Description = memcal.Description;
                                            radcalRec.street = memcal.Street;
                                            radcalRec.city = memcal.City;
                                            radcalRec.state = memcal.State;
                                            radcalRec.zip = memcal.Zip;
                                            radcalRec.SpecialAppointment = Convert.ToInt32(memcal.SpecialAppointment);
                                            radcalRec.IsConfidential = (bool)memcal.IsConfidential;
                                            if (memcal.maxocc.ToString() != "")
                                            {
                                                radcalRec.Maxocc = Convert.ToInt32(memcal.maxocc);
                                            }
                                            else
                                            {
                                                radcalRec.Maxocc = 1;
                                            }

                                            radcals.Add(radcalRec);
                                            radcals2.Add(radcalRec);

                                        }
                                    }
                                }

                                #endregion
                            }
                            else
                            {
                                radcals.Add(radcal);
                                radcals2.Add(radcal);

                            }

                        }

                    }

                }
                radcals1 = BindHolidayCalender1();
                foreach (qest.WebUI.RadCalender objRadCal in radcals1)
                {
                    radcals2.Add(objRadCal);
                }

                radMyScheduler.DataSource = radcals2;
                radMyScheduler.DataBind();
            }
            else
            {
                return;
            }
          
        }

shashidhar ch
Top achievements
Rank 1
 answered on 26 Aug 2010
1 answer
115 views
We would like to create an ASP.NET AJAX website (not web application) where some or all of the pages also host Silverlight controls. Which Telerik VS 2010 template is the correct one to create the new website so that all of the ASP NET AJAX controls and Silverlight controls, references etc. are in place?
Biliana Ficheva
Telerik team
 answered on 26 Aug 2010
1 answer
627 views
Good Day

I have a toolbar defined like this

<telerik:RadToolBar ID="RadToolBar1" Runat="server" Height="100%" Skin="Forest"
    Width="100%">
    <Items>
        <telerik:RadToolBarButton runat="server" Text="Button1" Width="100%">
            <ItemTemplate>
                <asp:ImageButton ID="btnoweb" runat="server" Height="50"
                    ImageUrl="~/images/o!logo.png" Width="50" />
                <asp:ImageButton ID="btnCalender" runat="server"
                    ImageUrl="~/images/Picture5.png" OnClick="btnCalender_Click" />
                <asp:ImageButton ID="btnAttach" runat="server" ImageUrl="~/images/Attach.png" />
                <asp:Menu ID="mnuMenu" runat="server">
                </asp:Menu>
                <telerik:RadMenu ID="mnuAdd" runat="server" Visible="true">
                    <ItemTemplate>
                        <asp:Image ID="imgicon" runat="server" EnableViewState="true"
                            ImageUrl="~/images/Add.png" />
                    </ItemTemplate>
                </telerik:RadMenu>
                      <asp:ImageButton ID="btnleftIcon" Height="38px" CssClass="rtbIcon" runat="server" ImageUrl="~/images/LeftIcon.PNG"
                      />
                <asp:TextBox ID="txtsearch" runat="server" AutoPostBack="true"
                    Font-Size="X-Large" Height="35px" onkeyup="this.onchange();"
                    OnTextChanged="Bind_SearchBox" Width="650px" />
                <asp:ImageButton ID="btnCancel" Height="38px"  CssClass="rtbIcon" runat="server" ImageUrl="~/images/RightCencelButton.PNG"
                    OnClick="btnCancel_Click" />
            </ItemTemplate>
        </telerik:RadToolBarButton>
    </Items>
</telerik:RadToolBar>

 i have a button btnleftIcon and txtsearch that sits between btnCancel , now

<asp:ImageButton ID="btnleftIcon" Height="38px" CssClass="rtbIcon" runat="server" ImageUrl="~/images/LeftIcon.PNG"
                      />
                <asp:TextBox ID="txtsearch" runat="server" AutoPostBack="true"
                    Font-Size="X-Large" Height="35px" onkeyup="this.onchange();"
                    OnTextChanged="Bind_SearchBox" Width="650px" />
                <asp:ImageButton ID="btnCancel" Height="38px"  CssClass="rtbIcon" runat="server" ImageUrl="~/images/RightCencelButton.PNG"
                    OnClick="btnCancel_Click" />

i want to remove space between the images and the textbox. as you can see from the below image there is a space.

Thanks
Yana
Telerik team
 answered on 26 Aug 2010
1 answer
82 views
I've just had over 15K records to render in my RadGrid which has client OnRowContextMenu & AllowRowSelect="true" enabled. The Ajax performance seems really slow, and sometimes popped timeout error.

The select sql query is okay when I've run it against Management Studio. Also, I've applied http compression in my IIS 6 which is running on Win-Server 2003 r2.

Any suggestions to improve performance on RadGrid's part?
Pavlina
Telerik team
 answered on 26 Aug 2010
5 answers
190 views
how to disble typing in Combox i.e how to restrict user from typing in the combobox.
In asp combobox to disable user entry we change the dropdown style of the combobox to DropDownList.

the thing is i am loading items in combobox on page load and on selected index change i am redirecting it to another page based on.
so can i validated the combobox if user types text which is not present in the combobox.
this is how my code looks.

<telerik:RadComboBox ID="radProject" AllowCustomText="false" AccessibilityMode="false" AutoPostBack="true" runat="server" DropDownWidth="240px" onselectedindexchanged="radProject_SelectedIndexChanged"                          EnableLoadOnDemand="true" MarkFirstMatch="true"  Skin="Web20" Filter="None">

time being i have kept filter = none
please suggest something...................
Princy
Top achievements
Rank 2
 answered on 26 Aug 2010
7 answers
235 views
Hi,

I have followed your support article on the RADProgress not showing but I still cannot get it working?  Its strange as i have it working in production with an older version (2008.2.826) but even if i try and use that in my dev environment it fails to show the progress control??

I have started with a brand new .net 3.5 web application running under the network service user on IIS6 on a WIN2K3 machine.  I have the following web.config:

<?xml version="1.0"?> 
<configuration> 
  <configSections> 
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> 
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        </sectionGroup> 
      </sectionGroup> 
    </sectionGroup> 
  </configSections> 
  <appSettings /> 
  <connectionStrings /> 
  <system.web> 
    <compilation debug="false"
      <assemblies> 
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
      </assemblies> 
    </compilation> 
    <authentication mode="Windows" /> 
    <pages> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /> 
      </controls> 
    </pages> 
    <httpHandlers> 
      <remove verb="*" path="*.asmx" /> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
    </httpHandlers> 
    <httpModules> 
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
    </httpModules> 
  </system.web> 
  <system.codedom> 
    <compilers> 
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
        <providerOption name="CompilerVersion" value="v3.5" /> 
        <providerOption name="WarnAsError" value="false" /> 
      </compiler> 
    </compilers> 
  </system.codedom> 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <modules> 
      <remove name="ScriptModule" /> 
      <remove name="RadUploadModule" /> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <remove name="Telerik_RadUploadProgressHandler_ashx" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" /> 
    </handlers> 
  </system.webServer> 
  <runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
    </assemblyBinding> 
  </runtime> 
</configuration> 

the following page..

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RADUpload._Default" %> 
 
<!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></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
    <asp:ScriptManager runat="server" /> 
    <telerik:radprogressmanager  
                id="RadProgressManager1" 
                runat="server"/>   
    <telerik:radprogressarea 
        id="RadProgressArea1"  
        runat="server"
    </telerik:radprogressarea>                
    <telerik:radupload  
        id="RadUpload1"  
        runat="server"/>     
    <br /> 
    <asp:Button ID="ButtonUpload" runat="server" onclick="ButtonUpload_Click" Text="upload"/> 
                     
    </div> 
    </form> 
</body> 
</html> 
 

and the following code behind...

using System; 
 
namespace RADUpload 
    public partial class _Default : System.Web.UI.Page 
    { 
        /// <summary> 
        /// Handles the user request to uploaded a new file. 
        /// </summary> 
        /// <param name="sender">object sender</param> 
        /// <param name="e">EventArgs e</param> 
        protected void ButtonUpload_Click(object sender, EventArgs e) 
        { 
            // Do we have an uploaded file? 
            if (RadUpload1.UploadedFiles.Count == 1) 
            { 
                // Save the temporary pic. 
                string filename = RadUpload1.UploadedFiles[0].FileName; 
            } 
        } 
    } 
 

But wehen i run this up and post a big file i use firebug and can see the web requests going to the site but the response is always

var rawProgressData = {InProgress:false,ProgressCounters:false}; 

Any ideas?

Thanks,

Jeff


Justin
Top achievements
Rank 1
 answered on 26 Aug 2010
2 answers
65 views
I posted a thread "aspx DOCTYPE" a few days ago. Telerik has posted a reply, however, I can not open this thread since their post. All I get is the message "Oops It seems there was a problem with our server". I do not have any problems opening any other thread. Would Telerik please check their server and see what is wrong with this thread.  Thank you
dhuss
Top achievements
Rank 1
 answered on 26 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?