Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
46 views
RadEditor Dialogs don't work in Medium Trust and U have  the below in your PageStateAdapter.browser file.

How can I force a single page to NOT use the PageStateAdapter.browser or ignore Radcompression for a given page?



PageStateAdapter.browser 
    
<browsers
    <browser refID="Default"
        <controlAdapters
            <adapter controlType="System.Web.UI.Page"  adapterType="Telerik.Web.UI.RadSessionPageStateCompression" /> 
        </controlAdapters
    </browser
</browsers>
Rumen
Telerik team
 answered on 14 Mar 2011
5 answers
121 views
Hi,

I want to detect programmably the event of page down button pressed, as well as the end of page is reached in RadEditor. What are the events raised for both case? Thanks.

York
Marin Bratanov
Telerik team
 answered on 14 Mar 2011
1 answer
63 views
Hello dear representative of Telerik. We have problems with the new version of Telerik Combobox.
In the Old version of Telerik you had the .dll file of RadCombobox.Net2.dll. And there we had a possibility of seeing the property LoadOnDemandURL as seen in the example below:


<telerik
:RadComboBox ID="Systems" runat="server" AllowCustomText="true" AutoPostBack

="false"

 

DataTextField="Name" DataValueField="Id" DropDownWidth="360px" EnableLoadOnDemand

="true"

 

HighlightTemplatedItems="true" IsCaseSensitive="false" ItemRequestTimeout

="500"

 

MarkFirstMatch="true" OnClientDropDownClosing="showContactType();" OnClientDropDownOpening

="insertSelectedType(this);"

 

OnClientKeyPressing="showDropDown(this);" OnClientSelectedIndexChanged

="systemUpdated(this);"

 

OnItemsRequested="Systems_ItemsRequested" OnSelectedIndexChanged

="Systems_Changed"

 

ShowDropDownOnTextboxClick="true" Skin="ClassicLongWidth" ToolTip="" ShowMoreResultsBox

="true">

 

<HeaderTemplate>
Please see the Function Below:
function
insertSelectedType(sender)

 

 

{

debugger ;

 

 

 

var

customers = <%= Customers.ClientID %>;

 

 

var

products = <%= Products.ClientID %>;

 

 

var

platforms = <%= Platforms.ClientID %>;

 

 

var

sstes = <%= SSTes.ClientID %>;

 

//inserts the selected tier to the ajax request

 

var tierString = "&ContactTypes=" + $F('<%= ContactTypes.ClientID %>' );

 

 

tierString +=

 

 

"&Customers="

+ customers.GetValue();

 

 

if(sstes !=null )

 

 

{

 

 tierString +=

 

 

 "&SSTes="

+ sstes.GetValue();

 

}

if(products!=null )

 

 

tierString +=

 

 

"&Products="

+ products.GetValue();

 

 

if(platforms!=null )

 

 

tierString += 

 

 

"&Platforms="

+ platforms.GetValue();

 

 

if (sender.LoadOnDemandUrl.indexOf(tierString) != -1)

 

 

 

return ;

 

 

 

var indexOfTiers = sender.LoadOnDemandUrl.indexOf("&ContactTypes=" )

 

 

 

if (indexOfTiers != -1)

 

 

{

//assume is last parameter

 

sender.LoadOnDemandUrl = sender.LoadOnDemandUrl.substring(0,indexOfTiers); 

 

}

 

sender.LoadOnDemandUrl = sender.LoadOnDemandUrl + tierString;

if ((Sys.Browser.agent === Sys.Browser.InternetExplorer) && (Sys.Browser.version < 7))

{

 

$(

 

'<%= LogicalUnits.ClientID %>').style.visibility = 'hidden' ;

 

 

 

$(

 '<%= Severities.ClientID %>').style.visibility = 'hidden' ;

 

 

 

 $(

'<%= Urgencies.ClientID %>').style.visibility = 'hidden' ;

 

 

 

 

}
As you can see there was a possibility of setting a new LoadonDemandURL.
I tried to do the same in Telerik.Web.UI, Version 2010.2.817.40
But I don't have over there this property.

I wanted first of all to ask if you have any other function which can help me to make what is described below.
If I make LoadOndeMand = true for some combobox it won't be able to see the value of other combos which were loaded in the same way with AutoPostBack = false.
With LoadOnDemandURL I could set the new URL and receive the values by request.querystring.

Wait for your reply.
Thanks.

 

 

 

Kalina
Telerik team
 answered on 14 Mar 2011
3 answers
98 views
Hi,

I was try create slider on client side. But without success. Firefox show error: "h is not a constructor"

This is my code (this code is wer simillar like Telerik's example):

function OnPageLoad() 
  responseEnded(null, null); 
 
function responseEnded(sender, eventArgs) 
  var sliderProps = { value : 50 } 
  var sliderEvents = {};
 
  $create(Telerik.Web.UI.RadSlider, sliderProps, null, null, $get("ClientSlider")); 
 

Thanks in advance,

J
Niko
Telerik team
 answered on 14 Mar 2011
1 answer
40 views
I'm using radgrid with Sunset skin
and I want to customize something in this grid like Head Title bar.
But when I change the skin for Edit Form, but it can not work
Please take me the sample code to customize this issue
Please see the attach file for more information
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2011
1 answer
44 views
Hi Folks!

This is my first post, but I have been learning a ton by reading past posts here on the forums. Just wanted to take a second and say thank you to everyone who posts solutions here as well as the entire Telerik team for being responsive.

Unfortunately my first post is due to a issue with the Visual Style Builder.   I was attempting to make a new skin for an app I am working on, but I noticed in IE 9 I was not able to see many of the critical controls (such as check boxes) in the interface.  

I am on IE9 Version:
RC 9.0.8080.16413

This page shows the missing controls: http://stylebuilder.telerik.com/New.aspx  

I am using FireFox as a work-around, but I thought I would bring this up as I didn't see any other posts about it.  Apologies if there is another thread on this.

Thanks,
-= Daniel

Alex Gyoshev
Telerik team
 answered on 14 Mar 2011
1 answer
88 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
70 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
67 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
159 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
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
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
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?