Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
155 views
Hello!

I am using a RadComboBox with automatic load on demand from an ObjectDataSource, using a "contains" filter to fetch matching records from the datasource. It works very well, with one exception. If I load the page, than leave it in the browser for ten minutes or so, and then try again, the combobox is stuck in the "loading" state, and stays there permanently. If I reload the page again, everything works fine again.

I've tried upping the session timeout but that had no effect on the issue. I would be grateful for help on this.

Best regards,
Kalle
Kalle
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
146 views
I have 3 cascading combo boxes which may be populated when the page loads based upon request string item values or they may be populated by the user on the client side.

Because of this "dual personality", I am trying to "clear" the events on the combo boxes at page_load in case any of the combo boxes are loaded based on the incoming request string.  Then I want to restore the events as my code exits page_load (I hope this is the correct way of handling this problem).

The three (3) combo boxes are defined as:

<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label1" runat="server" Text="<% $GetLangString:NewTrans.InThisCountry %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchCountry" TabIndex="5" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="LoadSearchStateProv">
</telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label3" runat="server" Text="<% $GetLangString:NewTrans.InThisState %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchStateProv" TabIndex="6" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="LoadSearchCity" OnClientItemsRequested="SearchItemsLoaded" OnItemsRequested="SearchState_ItemsRequested">
</telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label4" runat="server" Text="<% $GetLangString:NewTrans.InThisCity %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchCity" TabIndex="7" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px"  OnClientItemsRequested="SearchItemsLoaded" OnItemsRequested="SearchCity_ItemsRequested"></telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>

My problem is this...on the display page (pagename.aspx), the second and third cascading combo boxes have values entered for the "OnItemsRequested" event. But when I try to "clear" this value in the server side code at page_load I keep receiving a compilation error on the event.  You may refer to the attached screen capture that shows the error.

Why is this event property inaccessible on the server side?

Thanks in advance!

Lynn

Dimitar Terziev
Telerik team
 answered on 13 Jul 2011
1 answer
149 views
Hi

RadUploadAttachment.AllowedFileExtensions =

 

new string[] { ".zip", ".jpg", ".jpeg" ,".pdf",".txt"};

 


i upload jpg & pdf & zip 

RadUploadAttachment.InvalidFiles.Count=2

 

RadUploadAttachment.UploadedFiles.Count=1

why RadUploadAttachment.InvalidFiles  is 2 ?
thanks so much

Kevin
Top achievements
Rank 2
 answered on 13 Jul 2011
2 answers
167 views
hi,
 i have a crash of visual studio after installing telerik trial version, can you help me please! i reinstall it many times but it doesn't work? thx.
Erjan Gavalji
Telerik team
 answered on 13 Jul 2011
1 answer
94 views
Hi im using combo box control in a user control and adding items to the control but when i click on menu item of the control it is not showing the dropdown menu and the same thing is happening to the calendar control.please let me know if i am missing anything over here?
Kalina
Telerik team
 answered on 13 Jul 2011
3 answers
418 views
Hi,

is it possible to disable resizing option with Rad Editor - HTML mode ?  I have attached a screen shot for reference.

Thanks
Venkat
Rumen
Telerik team
 answered on 13 Jul 2011
3 answers
173 views
Hello,

I have a problem with the RadToolTip design (CSS) on the Firefox browser.

I'm trying to overwrite the default CSS but Firefox style keep the default style.

Here is the CSS I'm trying to overwrite :

div.RadToolTip table.rtWrapper td.rtWrapperRightMiddle{
    background-position: -2px 0;
}
 
div.RadToolTip table.rtWrapper td.rtWrapperBottomLeft {
    background-position: 0 -58px;
}
 
div.RadToolTip table.rtWrapper td.rtWrapperBottomCenter {
    background-position: 0 -114px;
}
 
div.RadToolTip table.rtWrapper td.rtWrapperBottomRight {
    background-position: right -58px;
}

In the attached picture below, you will see the problem.

Thanks for your help.
Marin Bratanov
Telerik team
 answered on 13 Jul 2011
3 answers
192 views
Refering to this thread i have an aditional question, hope you can help:
http://www.telerik.com/community/forums/preview-thread/aspnet/treeview/disabling-checkbox-for-an-enabled-node.aspx


I'd like to have the same feature with threestatecheckbox enabled, how can i achieve this?

Plamen
Telerik team
 answered on 13 Jul 2011
12 answers
477 views
I need to have ajax pannel prograss bar to show for radgrid on initial page load...

I tried the following code, but does not work.



<%

 

@ Page Language="C#" AutoEventWireup="true" CodeBehind="test2.aspx.cs" Inherits="Portal.UI.History.test2" %>

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

<!

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

 

head runat="server">

 

 

 

<title></title>

 

</

 

 

head>

 

 

 

<script type="text/javascript">

 

 

 

function pageLoad(sender, eventArgs) {

 

 

 

if (!eventArgs.get_isPartialLoad()) {

 

$find(

 

"<%= RadAjaxManager1.ClientID %>").ajaxRequest("InitialPageLoad");

 

alert(<%

 

= RadAjaxManager1.ClientID %>);

 

}

 

 

// alert('hi');

 

}

 

 

</script>

 

 

<

 

 

body>

 

 

 

<form id="form1" runat="server">

 

 

 

<div>

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"></telerik:RadScriptManager>

 

 

 

<

 

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">

 

 

 

<UpdatedControls>

 

 

 

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

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

</AjaxSettings>

 

</

 

 

telerik:RadAjaxManager>

 

<

 

 

asp:Panel ID="Panel1" runat="server">

 

 

 

<asp:Panel ID="Panel2" Visible="false" runat="server">

 

My content:

 

 

</asp:Panel>

 

</

 

 

asp:Panel>

 

<

 

 

telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

 

 

 

Width="75px" Transparency="50">

 

 

 

<img alt="Loading..." src="/img/logo.png" style="border: 0;" /></telerik:RadAjaxLoadingPanel>

 

 

 

 

</div>

 

 

 

 

</form>

 

</

 

 

body>

 

</

 

 

html>

 

--------------------------------

protected

 

 

void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)

 

{

 

 

if (e.Argument == "InitialPageLoad")

 

{

 

 

//simulate longer page load

 

System.Threading.

 

Thread.Sleep(2000);

 

Panel2.Visible =

 

true;

 

}

}

Sebastian
Telerik team
 answered on 13 Jul 2011
1 answer
215 views
hi i get the SelectedDate of RadDatePicker from javasctipt OnDateSelectedevent in following format
 "Wed Jul 6 00:00:00 UTC+0800 2011"
when i try to convert this string to Date i getting the following  error
Conversion from string "Wed Jul 6 00:00:00 UTC+0800 2011" to type 'Date' is not valid.
how to solve this
Princy
Top achievements
Rank 2
 answered on 13 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?