Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
Been looking at this for a while and just dont see what I am missing. I tried adding a ComboBox as a filter to a datagrid I am building but keep getting a syntax error near '.'. when the grid tries to rebind. I have looked over the code 100 times and cannot find any syntax error. Any help would be much appreciated.

<

 

 

telerik:RadComboBox ID="ComboSchedule" DataSourceID="SqlDataSource3" DataTextField="SCHED" DataValueField="SCHED" Height="200px" SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("SCHED").CurrentFilterValue %>'

 

 

 

runat="server" OnClientSelectedIndexChanged="TitleIndexChanged" AppendDataBoundItems="true">

 

 

 

<Items>

 

 

 

<telerik:RadComboBoxItem Text="All" />

 

 

 

</Items>

 

 

 

</telerik:RadComboBox>

 

 

 

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

 

 

 

<script type="text/javascript">

 

 

 

function TitleIndexChanged(sender, args) {

 

 

 

 

var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");

 

 

tableView.filter(

 

"SCHED", args.get_item().get_value(), "EqualTo");

 

 

}

 

 

 

</script>

 

 

 

 

</telerik:RadScriptBlock>

 


Then in the codebehind

Protected

 

 

Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender

 

 

 

 

If Not RadGrid1.MasterTableView.FilterExpression Is String.Empty Then

 

RefreshCombos()

 

 

End If

 

 

 

End Sub

 

 

 

Protected Sub RefreshCombos()

 

 

SqlDataSource3.SelectCommand = SqlDataSource3.SelectCommand &

 

" WHERE " & RadGrid1.MasterTableView.FilterExpression.ToString()

 

 

RadGrid1.MasterTableView.Rebind()

 

 

 

End Sub

 



Thanks in advance
Iana Tsolova
Telerik team
 answered on 14 Mar 2011
1 answer
93 views
After purchasing official copies of the Telerik suite of products, I need to completely remove the trial copies.  The "upgrade" tool  successfully upgrades projects from the Trial to the production copies.  The problem I keep having is that the program keeps finding the trial copy.

Short of wiping my hard disk, how do I completely purge the trial editions?  I would hate to have to continually "upgrade" my projects over and over.

Thanks for any advice you can offer. 
Iana Tsolova
Telerik team
 answered on 14 Mar 2011
1 answer
81 views
hi
We are using RadGrid in our application we have a issue that when we apply filter we are not able to trap which events are getting fired.since our objective is to get filter dataset which it apply to grid thatshow filter record.
 Can you please tell us how we can get this filter dataset when we apply filter on RadGrid.
please Relpy ASAP as we have goLive on Monday
Iana Tsolova
Telerik team
 answered on 14 Mar 2011
1 answer
170 views
Hello, I'm not sure where to post this but I'll put it here.

I have a project that has a simple aspx and some ascx.
In these ascx I want to use javascript, at first I simply put the javascript right into the ascx with the script tags.
When doing this I could easy use $find("<%= myControl.ClientID %>") to find the control and use the various clientside methods that the diffrent radcontrols come with.

Now as the project has grown and so has my javascripts I decided to move them to a separate jsfile. And this is where my problem started.
I have a RadScriptManager in my aspx and the aspx has the ascx, but when I try to use $find("<%= myControl.ClientID %>") I get null back.

BUT if I use $find("myControl") then I can find it, the problem with that is that I have to find the genereated name, and If I place my ascx in diffrent parts in the aspx I would have to change this every time.

Why doesn't it work after I moved it to its own js file?

I guess I could move it back, but it's so much better and cleaner to have it in its own js file, that way I can also debugg it and see what happends since I can't do that if I have it in the ascx script tag.

Any help in this matter would be very welcome, I'm guessing I'm missing something here, something that I don't understand.

Thanks
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2011
1 answer
130 views
Hİ All,

I made a custom skin via visual style builder. I just give a name, select telerik skin, click create button and click download without any changes.

All of my pages inherited from my custom class and at that class i add css links to all pages header.  You can find see how my page head shown when i click view source.

<head id="Head1"><title>
    ..:: Document Management System ::..
</title><link href="css/control.css" rel="stylesheet" type="text/css" />
    <script src="js/GridMenu.js" type="text/javascript"></script>
    <script src="js/common.js" type="text/javascript"></script>
    <script src="js/window.js" type="text/javascript"></script>
<link href="local/Skins/cilekv1/Button.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Calendar.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ColorPicker.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ComboBox.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Dock.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Editor.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Filter.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/FormDecorator.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Grid.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Input.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ListBox.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ListView.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Menu.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/PanelBar.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Rating.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Rotator.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Scheduler.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Sitemap.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Slider.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Splitter.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/TabStrip.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/TagCloud.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ToolBar.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/ToolTip.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/TreeView.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Upload.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="local/Skins/cilekv1/Window.cilekv1.css" type="text/css" rel="stylesheet" />
<
link href="/infostore/WebResource.axd?d=ZpsK7pBKcqkKFHVK0IWhC82NcqXUe7kZZ6TlAewvCZxXEuXAkn0meQFPJrsWChx-KxxXbBoXtKp_kqe_Sy6p3giZhBwPuXY3LUKDJzbEf7X1myMHW1gZBBBPOdKgLbWCgTuiSw2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<
link href="/infostore/WebResource.axd?d=endhQ6Qxv9GK7FQAttZKvfPh2k4ewtcCvobIcCzdar7dn85KMU9E1mdMFAHvF1bvaqNLmjEp423Z7O8y8JIQrvhaw0A7QW1ThH85x9XtS9vGv9FCGDkKY9dwV-TEBMNuqbLUgg2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<
link href="/infostore/WebResource.axd?d=0mGgI56WWrfJi_0BIbtn81g9vkxupv5ClM7MhgnZpE-umXCRrrGnD9Nn1AyHg1AZLM4Wk5j_edFbYoAi_HtE0zD1Ap5SokALhvlyN8zUbZtcrGQutjksW9iKPXXgXkGjI-547g2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<
link href="/infostore/WebResource.axd?d=kevRWuiVun2yZFCCukmgbxAqvurdiqVxA40-YTUCn7oHyUY2zwKP90lWtV1kLC5crdTtvgwIevcS7I86J5WD3CwYgRXloIV70Xm2MOnDGeMo99Fp7uoGADmRVq8xFbx5Kn-obA2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<
link href="/infostore/WebResource.axd?d=ITWriCyDLsop0dbB-F8_dej3G2TxRK6rJ0Vd9NKVtezLPhFBtThGEQtnCzC_GmxbaO_GY-Q1Pp-uIbDw5J0nNBKQLeLrE1yQYPXQKBuqdgFRoyhiFkvufmDeKIiQLYBBm7SD0w2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<
link href="/infostore/WebResource.axd?d=7KyNN5knIAsYHh438GrQfxLPOYCdN7rOQqA0isJlNaKATy5pIY5cr4S4P9JF23IGG-irUIJew_ri56cp7g_Ds04g9ghghR_zNDgSGsTpNrDfWbk7Rpc5BFDVG0-62NpQvg3nnw2&t=634307904980000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
</
head>

Menu, and tree looks normal. But when i try to show grid, tab,splitter, window they are not shown correctly.

You can see the custom skin screenshot and telerik screenshot for the same page.

Please inform me what's wrong with my code.

Regards
Dimo
Telerik team
 answered on 14 Mar 2011
0 answers
337 views
The purpose of this forum is to submit general inquiries about the Telerik SharePoint Acceleration Kit (related to installation, general configuration, etc.). For specific usages of the Telerik AJAX, Silverlight and Reporting components/web parts, please post your questions in the individual SP 2010 forums available in the root. 

Note: Due to lack of interest, the Telerik SharePoint Acceleration Kit has been discontinued. You can still use the Telerik WebParts.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 14 Mar 2011
1 answer
82 views
We are running the Dot Net Nuke professional version and are using the included Telerik tools, but I'm having problems with the RadWindow behavior icons.

When the icons are displayed, a black square appears above and to the left of the action icon (see screenshot).

I never had this problem before when I was running the full version of the Telerik tools, so I was wondering if this has something to do with Dot Net Nuke, or if this is a bug in the Telerik.Web.UI dll file that comes with DNN.

Thanks,

Charlie
Georgi Tunev
Telerik team
 answered on 14 Mar 2011
3 answers
108 views
Hi,
I was using older version of Telerik.Web.UI.dll (2009.3.1103.35) in my project.
I tried upgrading to Q3 2010 version and it changed the default styles of many of my controls such as grid, radmenu etc.
I would like to updgrade to higer version but want to keep the default styles that were applied to controls with the above version.
Is there a way to achieve this?
Thanks,
Manisha
Galin
Telerik team
 answered on 14 Mar 2011
3 answers
147 views
Hello,

I'd like to use image radbuttons, but from what I can see, there is support only for 1 image.  This is not very flexible in case where button width is not known in advance (like for multiple languages site for example).

Is there any way to specify left, center and right button images rather than just 1 image for the entire button?

Thanks and keep up the great work.

Patrice
Pero
Telerik team
 answered on 14 Mar 2011
8 answers
138 views
Hello,

I need to know if a RadGrid control can integrate ResourceTypes & AdvancedEditTemplate sections. In my case, RessourceTypes are never displayed. Is it normal ?

Thanks,

Steph

Stephane
Top achievements
Rank 1
 answered on 14 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?