Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
hi,
I downloaded a source code for a demo available on telerik's website which uses ASP.net AJAX, when I try to run it on my pc it gives me alot of errors, tried to fix them by adding the references again but still errors are coming. The problem is referring to a function in another class is not working. This is a picture of what is happening. 


Vasil
Telerik team
 answered on 09 Mar 2011
5 answers
131 views
Hello Telerik Admins and Members,

I have the following problem.

I set EnablePostBackOnRowClick to 'true' I also enable Client-Side row selection and I try the code below

protected void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Label1.Text = "Aa";
    } 

in Label1 nothing changes! 
When I do the same thing in VB code it works!

Label1.Text = "Aa" is only for test...
I actually need when I click on row (currently selected row) I want the value to be shown in Label. So I guess I have 2 questions!

Barlet,
Thank you
Vasil
Telerik team
 answered on 09 Mar 2011
3 answers
91 views
Hi there,
We have been looking in the TabStrip forum is there any way to create a CSS class for the "selected tab" and for "All tabs". We have found in some examples that Telerik have a CSS for "first tab, second tab, etc". Our problem is that we created the tabs on the fly. It depends the number of roles we have in the database.
One way to make this possible would be to create as many tabs in the CSS as we can imagine and it will access to its number but we think this is not the best way to do it.
So our question is:
Is there any CSS class in the control for "All tabs" and one for the "selected tab"?.

Kind regards.
David Rodriguez
Top achievements
Rank 1
 answered on 09 Mar 2011
1 answer
411 views
Hi

When i try to use more than 500 or i'm using 5000 to 10000 Records in RadCombobox , it is getting very slow while searching the text.
i seen the Demo link in that You are using upto 100 Records only.. so only it was fast.
See my Code and Give me the solution.

<

 

telerik:RadComboBox ID="RadComboBox3" AllowCustomText="true" runat="server" Width="289px" Filter

="Contains"

 

 

 

Height="200px" DataSourceID="SqlDataSource1" DataTextField="BillingName"

 

 

 

 

EmptyMessage

="Select Test......">

 

 

 

</telerik:RadComboBox

>

 

 


<

 

asp:SqlDataSource ID="SqlDataSource1" runat="server"

 

 

 

 

ConnectionString="<%$ ConnectionStrings:TestConString %>"

 

 

 

 

SelectCommand

="SELECT [BillingID], [BillingName] FROM [tblbillingmaster] where [flag]=0">

 

 

 

</asp:SqlDataSource

>

Regards,
Ashok Anbarasu.

 

 

Shinu
Top achievements
Rank 2
 answered on 09 Mar 2011
6 answers
1.3K+ views
Hi,

I am using radgrid. i used label, radcombobox and radbutton(checkbox). i want when i clicking checkbox whole items(rows) background color want to display in client side. and also same item label value want get. both are client side.

so please tell me 1. how to set background selected textbox 2. how to get another control value for selected check box

 I have attached screen shot also. please check and give me a tips.



Thanks in advance,
Dhamu
Dhamodharan
Top achievements
Rank 1
 answered on 09 Mar 2011
4 answers
136 views
I am attempting to use jQuery to set the background-color style of the RadTimePicker on the client side. While I can set this property using the BackColor attribute on the server side, setting it on the client side never results in visual changes... even though the code executes correctly.

I realize that the input text box in question has a ClientID that differs from the ClientID of the RadTimePicker control. It seems that it always follows the format MyTimePickerClientID_dateInput_text. So in order to change the background color, I do the following:

 

 

$(

"#" + <%= this.MyTimePickerControl.ClientID %> + "_dateInput_text").css("background-color", "#FF0000");

 

 

This jQuery code seems to run fine, and when I check the background-color in the debugger, it is indeed set to red. Yet there is no visual change in the browser window.

Is what I'm trying to do possible? If so, what am I doing wrong? I have tried this same technique with other style, such as border, but with the same lack of effect.

 

Alexander
Top achievements
Rank 1
 answered on 09 Mar 2011
4 answers
112 views
Hi I have a RadTreeView(with checkboxes) in RadComboBox. I am able to display the values of selected checkboxes using label. But it's on a Button click. Ideally I wanted to display values when RadcomboBox closes.

RadComboBox1_SelectedIndexChanged is not working for me.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" >
   </telerik:RadScriptManager>
   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadComboBox1" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
   </AjaxSettings>
   </telerik:RadAjaxManager>
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" 
       Skin="Default" >
   </telerik:RadAjaxLoadingPanel>
   <br />
   <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
    </script
    </telerik:RadCodeBlock>
            <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" 
       Style="vertical-align: middle;"   
                EmptyMessage="Choose Stations..." 
         AutoPostBack="True" 
       onselectedindexchanged="RadComboBox1_SelectedIndexChanged">
                <ItemTemplate>
                    <div id="div1"  >
                        <telerik:RadTreeView runat="server" ID="RadTreeView1"   Width="100%" Height="210px" CheckBoxes="true"
                        CheckChildNodes="true" TriStateCheckBoxes="true"  >
                        </telerik:RadTreeView>
                    </div>
                </ItemTemplate>
                <Items>
                    <telerik:RadComboBoxItem Text="" />
                </Items>
            </telerik:RadComboBox>
   <br />
   <asp:Button ID="Button1" runat="server" Text="Selected Stations" 
       onclick="Button1_Click" />
     
   <p>
        </p>
   <p>
     
   <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
  
    </p>
    </form>
</body>
</html>
Please help...
Smiely
Princy
Top achievements
Rank 2
 answered on 09 Mar 2011
4 answers
138 views
Hello,

In my web application, I have a master page with a RadScriptManager control.  I'm getting the following error on page load:

Could not load file or assembly 'System.Windows,Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' orone of its dependencies. The system cannot find the file specified.


Based on the stack trace, the error appears to be thrown from the RadScriptManager constructor:

[FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.]
   System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 
   	typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0 
   System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] 
   	typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +180   
   System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] 
	genericMethodArguments) +192   System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord 
	caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, 
	MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[]
	attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean&
	ctorHasParameters, Boolean& isVarArg) +115   
   System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, 
	Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean 
	isDecoratedTargetSecurityTransparent) +426   System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly
	assembly, RuntimeType caType) +103   
   System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit) +33   
   System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +76   
   System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +388   
   System.Web.UI.ScriptManager..ctor() +26   
   Telerik.Web.UI.RadScriptManager..ctor() +14
The error only occurs the first time I load a page after a build of the application.  As soon as I refresh the page, the error goes away and the application functions as expect.

The error started occurring as soon as I added a Silverlight 3 application in my web app project.

Why are RadScriptManager and the .NET ScriptManager attempting to load a Silverlight dll?  Obviously, this dll is not in the bin directory of the web app.  Any ideas as to how I can make this error go away?

I'm using VS 2010, .NET 4.0, Silverlight 3, and Telerik RadControls for ASP.NET Ajax version 2010.1.415.40.

Thanks,
Andy
Simon
Telerik team
 answered on 09 Mar 2011
1 answer
152 views
Hello...

I have a main page with a lot of content and a RadTabStrip with 2 tabs... 
I load a local page on my Tab. That page has a javascript variable called "map"

So,  In main page I have a html button. When the user click it I´m supposed to get the Iframe variable "map" (from tab) and play with it...
How can I get that variable ?

Thanks
Dimitar Terziev
Telerik team
 answered on 09 Mar 2011
2 answers
124 views
Hi There,

I have treeview with 2 and 3 level sub node. On click of each node i am loading the iframe on right side. i want disable the clicking of root nodes because on click of root nodes nothing should happen.Is it possible to disable the root node clicking or just disable the root nodes
and also the treeview is fullExpanded state.
Goutham
Top achievements
Rank 1
 answered on 09 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?