Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
86 views
Hello.
I need advice.

I have created a list (radgrid) and a button.
When you click on the button to load the list.

The problem is this - when I click on the button to perform the refresh.

My code is as follows -

<telerik:AjaxSetting AjaxControlID="Button1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="LoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="Button1" UpdatePanelRenderMode="Inline" />
                </UpdatedControls>
            </telerik:AjaxSetting>

Thanks for the advice.
Emre
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
185 views
Hi All,

I want to set the cursor as 'pointer' after populating the grid with data i.e. in the .cs page.
I have written in .cs page as
Code:

------
----
databind()
Response.Write("<script language = javascript>function dohg(){document.body.style.cursor = 'pointer';} dohg();</script>");
----


But this is not working.
Guys this is really very important for me to solve it

Bharat Rathore
msigman
Top achievements
Rank 2
 answered on 14 Feb 2011
0 answers
72 views
Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

I read the sticky already, however none of the solutions given works.

.NET FrameWork 4.0
Q3 2010 SP2
Latest version of AJAX toolkit dated April 2010

However, if I use the ToolScript manager from ACT instead of the RadScriptManager that it works.  The question is do I lose anything?  Does any rad control requires the use of RadScriptManager?
Edward
Top achievements
Rank 1
 asked on 14 Feb 2011
1 answer
103 views
I am trying to use treeviews to give users the ability to create there own Form "Templates"  I have three treeviews on a page The first is the "Drag TO Treeview" which users drag items from the "Drag FROM Treeview" this is a treeview that is databound from a sqlsource. The Third Treeview is the "PREVIEW" Treeview it is simply cloned from Treeview1, However this treeview is itemtemplated with a label and a Textbox because I need this to look somewhat like a form. My objectives are as follows

1. Bind the label to the text of treeview1 upon the cloning
2. If the item is a PARENT hide the textbox so that only the label is show indicating this is simply a header item.

Can this be done with the clone method?
Nikolay Tsenkov
Telerik team
 answered on 14 Feb 2011
1 answer
41 views
I'm running into an odd issue and was wondering if anyone might know why this is happening...

I use Visual Studio 2010 with the Telerik ASP.NET AJAX (v.2010.3.1215.35) controls.  Recently some Telerik Charting controls were added to the Visual Studio project.  Since then, occasionally, when going to build I get an error related to a 'designer.vb' file (the aspx and .vb page does not use any charting controls). 

Upon looking in the 'designer.vb' file, the cause of the error is a result of the declaration of other controls which are used on the page being changed from 'Global.Telerik.Web.UI...' to 'Global.Telerik.Charting...'  For example instead of 'Global.Telerik.Web.UI.RadComboBox' to 'Global.Telerik.Charting.RadComboBox'.

To resolve the error I simply change the declaration back to what it should be.  So for the example described above I change the declaration back to 'Global.Telerik.Web.UI.RadComboBox'.  The Visual Studio project will build without errors after making the corrections.

This issue has also happened with the Telerik Reporting controls.  The declaration in the 'designer.vb' file changes from '...Web.UI...' to '...Reporting...'.

Any ideas would be greatly appreciated.  It's an easy fix to correct, but can be time-consuming and is annoying.  Please let me know what other information I can provide which may help.

Thanks!
Giuseppe
Telerik team
 answered on 14 Feb 2011
1 answer
136 views
Hi,
I'm trying for the first time the Telerik controls on Asp.net.

I created a master page and I put a ContentPlaceHolder inside. On the Content page, inside the ContentPlaceHolder, I put a RadAjaxPanel where dynamically load a usercontrol with two buttons and a Radgrid but in design. The data visualization works fine. Now, I would like to export the RadGrid using RadGrid Export function, when I click one of the buttons inside my user control.
What is the proper procedure to do this?
I have read several examples, but I think the fact that I have the master page and content page with update panel changes the perspective of how to implement the export.

Thanks in advance
Daniel
Telerik team
 answered on 14 Feb 2011
1 answer
315 views
Hi guys,
I have created a project out of existing one(I do not want to mess with existing version).Created a new page and when I go to design view I am getting error:Uknown server tag 'telerik:RadScriptManager' and also getting error that Master file could not be found but its there.
And also I checked bin directory and Telerik.Web.UI.dll file is there.

<%@ Page Language="C#" MasterPageFile="~/EISMaster.Master" AutoEventWireup="true" CodeBehind="RatingFormGuidanceCounselor.aspx.cs" Inherits="EISPortal.Ratings.RatingFormGuidanceCounselor" Title="Untitled Page" %>

<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>

<

 

asp:Content ID="Content1" ContentPlaceHolderID="cphNavigation" runat="server">

 

 

</

 

asp:Content>

 

 

<

 

asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">

 

 

<

 

telerik:RadScriptManager ID="ScriptManager1" runat="server" />

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

<telerik:AjaxSetting AjaxControlID="mainPanel">

 

<UpdatedControls>

 

<telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

 

</UpdatedControls>

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

</telerik:RadAjaxManager>

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" EnableSkinTransparency ="true" runat="server">

 

</telerik:RadAjaxLoadingPanel>

Thanks so much for your help.
Yana
Telerik team
 answered on 14 Feb 2011
4 answers
191 views
Hi all,
   I have used the code an the demo :   http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourceavailability/defaultcs.aspx

but the function of JavaScript in the example don't work in my project ..?????

please I'm very stressed with that.
MOUSLIKI
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
112 views
I have a custom progress indicator:

<telerik:RadProgressManager ID="progressManager" runat="server" RefreshPeriod="250" SuppressMissingHttpModuleError="true" />
<telerik:RadProgressArea ID="progressArea" Width="100%" runat="server"
    ProgressIndicators="FilesCountBar, FilesCount, FilesCountPercent, SelectedFilesCount, CurrentFileName" />

private void UpdateProgress(double current, double total, string actionName)
{
    progressArea.Visible = true;
    var progress = RadProgressContext.Current;
    progress.SecondaryTotal = total;
    var percent = Math.Floor((current / total) * 100d);
    progress.SecondaryValue = current.ToString();
    progress.SecondaryPercent = percent.ToString();
    progress.CurrentOperationText = String.Format("{0}", actionName);
}

And it displays correctly, but it no longer displays images.  Just displays like it is in the screen shot.   Any help?
Dimitar Terziev
Telerik team
 answered on 14 Feb 2011
1 answer
71 views
How can I add HTML Tags Selector tool in the toolbar?
Rumen
Telerik team
 answered on 14 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?