Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
Hi,

For an application I have to save the treeview checked items state. When users navigate away from the page and they come back the state of the selection must be persisted. I try to do this to save the collection of the checked items in a cookie or a Session.Item

The Session.Item is set every time on the OnNodeCheck event.
When I come back I set the checked nodes from the Session.Item but i think every time I set a checkbox the OnNodeCheck event is fired. Is that correct? What would be the best approach to keep the Checked state in memory so I can reproduce the treeview correctly?

BR,
Marc
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2011
1 answer
52 views

my column is like this:

<telerik:GridBoundColumn DataField="TheIntegerColumn" HeaderText="Integer Value" FilterControlWidth="20px" DataType="System.Int32" HeaderStyle-Width="20px" 
                            SortExpression="TheIntegerColumn" UniqueName="TheIntegerColumn" ItemStyle-HorizontalAlign="Right">
</telerik:GridBoundColumn>

when I enter a random text instead of an integer into the filter, and select any option in the filter options dropdown, i get error
is this normal? or am I missing any settings in the grid?

thanks in advance
Princy
Top achievements
Rank 2
 answered on 07 Feb 2011
0 answers
88 views
Hi there,

File Version : 2009.1.402.35 (telerik.web.ui)

I am using Telerik controls for my many clients and works fine. Recently I have deliver one of solution to my one of new client.
This application works fine on our Dev and Test server.

However, it doesn't work at client's site and throws an exception when ajax is in play. I am not sure what the problem is. We don't have really good access to client's Server. So, if you can provide precise solution, I am happy to send it to client for fixing this bug.

Thanks in advance.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Timestamp: Wed, 5 Jan 2011 22:48:57 UTC


Message: Sys.ScriptLoadFailedException: The script '/CMPRIDS/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b' could not be loaded.
Line: 15
Char: 25312
Code: 0

ankit
Top achievements
Rank 1
 asked on 07 Feb 2011
26 answers
2.6K+ views

Hi,
just tried to make a simple tooltip - and got following javascript error when runing the page - 'Sys' is undefined
debug stops at:

Sys.WebForms.PageRequestManager._initialize(
'ScriptManager1', document.getElementById('form1'));

perhaps i missed something?
here aspx:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> 
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    Namespace="System.Web.UI" TagPrefix="asp" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head id="Head1" runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager> 
    <div> 
            <asp:TextBox ID="txtWithTooltip" runat="server">123</asp:TextBox> 
            <img src="HelpIcon.gif" runat="server" ID="lblPrev" alt="" style="margin-left:17px;vertical-align:middle;"/>  
            <telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="txtWithTooltip" Text="This is a tooltip" IsClientID="true">  
            </telerik:RadToolTip> 
            <telerik:RadToolTip ID="RadToolTip2" runat="server" TargetControlID="lblPrev" Sticky="true" RelativeTo="Element" Skin="Web20Green" Position="BottomCenter" Text="Previous article: USNews Top 10" IsClientID="true">  
            </telerik:RadToolTip> 
      
    </div> 
    </form> 
</body> 
</html> 
 
Vishwanath
Top achievements
Rank 1
 answered on 05 Feb 2011
2 answers
95 views
hello,

im on an older version of RadControls for ASP.NET AJAX ("2009.2 826") but i think the answer to my question should be pretty straight-forward.

i have a RadGrid that lists items on a page. these rows include the use of a GridButtonColumn of type Delete, like so:

<Telerik:GridButtonColumn CommandName="Delete" ButtonType="LinkButton" Text="Delete" UniqueName="deleteColumn" />

... my question -- how can i disable the visibility of this column on a per-row basis, dependent on the value of another column in the grid's DataSource? some rows are something i want the user to be able to delete, some rows are not. the rows that cannot be deleted should still allow the user to edit the row via the GridEditCommandColumn we're also using.


thanks!
matt
matt
Top achievements
Rank 1
 answered on 05 Feb 2011
1 answer
103 views
Hi,
In the Telerik Rad Scheduler, I want to separate admin control and user control and whatever changes the admin makes to the schedule should be reflected in the user view with a button click.

For Example: If the admin changes the timings and clicks the button it shud be reflected in the main schedule of the user also, but the user should noy have all the powers of the admin.He should be able to just select appointments.
But, I am unable to do that.Can anyone help me in guiding ?
Veronica
Telerik team
 answered on 05 Feb 2011
4 answers
119 views
Hi,

I have a wordpress blog sitting in one of the folders of my website, which is using RadCompression. I found that all log-in requests to the php blog were not processed, because all requests were going through the RadCompression module, which duly froze when it did not know how to handle the php log-in request. One of the guys from the hosting site fixed this by adding a Web.config file to that Wordpress folder:
<configuration>
<system.webServer>
<modules runAllManagedModulesForAllRequests="false">
<remove name="RadCompression"/>
</modules>
<httpErrors errorMode="Detailed" />
<rewrite>
    <rules>
        <rule name="Main Rule" stopProcessing="true">
            <match url=".*" />
            <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            </conditions>
            <action type="Rewrite" url="index.php" />
        </rule>
    </rules>
</rewrite>
</system.webServer>
</configuration>

This worked fine.

Here's the part I don't understand. He also made a change to the main Web.config file (for the whole site). Namely, he added two appSettings items:
<appSettings>
    <add key="Telerik.Skin" value="Black"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/><!-- this was added -->
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/><!-- this was also added -->
</appSettings>

Why is this necessary ? (It breaks if I remove those two new keys).
And does this mean I am using the TelerikCdn?

Cheers
David
Top achievements
Rank 1
 answered on 05 Feb 2011
0 answers
81 views

Hi

I need to achieve the following;

Have variable length formatted html text and a tick box in a container control such that the container control has a scroll bar to allow user to scroll down to the end of text and make the tick box visible for the user to tick.

What controls/technique can I use to achieve this? Any pointers would be appreciated.

Many Thanks

Regards

John
Top achievements
Rank 1
 asked on 05 Feb 2011
3 answers
206 views
What is the best way to change the CSS of the selected and Parent nodes in a tree?  Basically I want to mark the path to the current selected node in the tree by either making it Bold or setting it do a different font color.
Stefan
Top achievements
Rank 1
 answered on 04 Feb 2011
1 answer
111 views
Hi,

I'm trying to get 2 related comboboxes to work in a formview (when you select an option from the 1st combobox then the 2nd one is populated by using the selected value from the 1st combobox as a parameter/filter).
The example for this on the Telerik site doesn't take into account controls in a formview or the fact that there might be form templates for Insert & Edit so the example fails.

Can you please let me know how i can get simple related combobox functionality (both combobox's are populated from a data source) to work when comboboxes are within a templated formview?

Regards,

Shuja 
Cori
Top achievements
Rank 2
 answered on 04 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?