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

I am currently using a Telerik RadScheduler control in a web application where I embed the control inside of a user control. This web application framework has a WebForm with a RadAjaxManager, and has user controls which have the AjaxPanel controls.

The problem I'm having is that after doing advanced editing or adding on the scheduler, if I attempt to navigate to other periods using the navigation arrows, my navigation fails with the contents of the user control directory listed and the url having a # sign at the end.

The navigation controls lose their ajax behavior and attempt to navigate directly from where they are(in the user control) relative to the application. The navigationcommand fires after this navigation.

Can somebody help me solve this issue?

Regards

Malibongwe
Atanas Korchev
Telerik team
 answered on 05 May 2009
1 answer
94 views
I am trying to figure out if what I want to do is possible. I have a table called geographic coverages. It is a table of all geographic names in the world. There are 4 different types of name: LR (region) LC (country) LS (state) LU (urban).
So a geo_name could be LR:na (which would be north america)
or LC:na.us  (which would be united states in north america)
or LS:na.us.ny  (which would be new york in united states in north america)
or LC: na.us.ny.al   (which would be albany in ny in us in na).


These names are all in a flat table with only 2 columns - geo_name and description.
I want to create a grid so the user can choose one or more geo_names.
Is there any way to use this one column to create a hierarchical grid of region drilling down to country down to state down to urban?

Thanks
Sebastian
Telerik team
 answered on 05 May 2009
2 answers
120 views
When the RadComboBox is hovered the class "rcbHovered" is applied to the table tag.

I've a situation where I'd like to have the RCB to appear hovered when an item is selected.

How would I do this when the RCB is Selected/Posts back??

I know I can override the skin styles but would rather do the above.. if can be.

Thanks!
David
Top achievements
Rank 1
 answered on 05 May 2009
2 answers
192 views
Quick question.

I'm building a treeview at run time but don't seem to be able to access the treeview.skin property. How do you set a skin when building a treeview at runtime?

I'm using the latest set of controls by the way.
Michael Dunbar
Top achievements
Rank 2
 answered on 05 May 2009
3 answers
125 views
I am currently using the radMenu .Net2 ver 4.4.4 in a SharePoint (MOSS 2007) application. We also use the radEditor in all of our SharePoint applications.
Is it true that in order to upgrade one of these controls, I will need to upgrade both of them since the current RadControls for ASP .NET AJAX is a single .dll install?

Also, does my current radMenu control support semi-transparent drop-down sub menus?

Thanks,
John
Atanas Korchev
Telerik team
 answered on 05 May 2009
15 answers
171 views
Hello,

I am evaluating telerik and using the help desk demo to do so. I notice an odd occurance; When I first load the demo app and run my mouse over the calendar, I see that the green square boarders (representing days with helpdesk activity) will go from clear and back to green.

When I change months and do the same with my mouse I notice the green squares do not return and all dates that I hover over will in effect remove the green boarder?

Why would this be...I assume it is not a planned behavior given that when the helpdesk is first loaded into the browser and I hover over all the days the green boarders always revert back.

Thanks!
Pavel
Telerik team
 answered on 05 May 2009
1 answer
100 views
Hi Telerik Support Team,
I am working with the radupload control separate from a rad grid control on the same web page.  On the grid I have delete and a edit image buttons. 

For the RadProgress Manager I have OnClientSubmitting="OnClientSubmitHandler"
In the OnClientSubmitHandler I check the values of the custom fields,  before allowing the file to be saved to the database and the file server.  
I understand that the upload functionality requires a postback to complete the process.  It seems the OnClientSubmitHandler, is called for any submit.   I need my grid delete and edit buttons to postback to the server without conflicting with the RadProgress Manager and not call the OnClientSubmitHandler function.  Any help would be appreciated.

I did look at your on line example I am still not able to get past this...

 Thank you in advance for help
~Julie
Genady Sergeev
Telerik team
 answered on 05 May 2009
1 answer
164 views
When setting styles for the EmptyMessageCSSClass on the Settings object on a RadInputManager, some styles are not applied.

I have the following page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadInputManagerTest._Default" %> 
 
<%@ 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"
    <link id="DefaultCSS" runat="server" href="~/style/default.css" type="text/css" rel="stylesheet" /> 
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <telerik:RadInputManager ID="RadInputManager1" runat="server"
            <telerik:TextBoxSetting EmptyMessageCssClass="emptyMessage" BehaviorID="behavior1" EmptyMessage="test"
                <TargetControls> 
                    <telerik:TargetInput ControlID="TextBox1" /> 
                </TargetControls> 
            </telerik:TextBoxSetting> 
        </telerik:RadInputManager> 
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
    </div> 
    </form> 
</body> 
</html> 

I have the following css:
.emptyMessage 
{     
    border-bottomsolid 2px red

When the page is displayed, the style never gets applied.  I can see from Developer Tools in both IE and Firefox that the style for "HTML BODY .RadInputMgr_Default is the style getting applied and it takes precedence over my style and sets the border.

The HTML source of the page looks like this:
        <input name="TextBox1" type="text" value="test" id="TextBox1" 
 class="RadInputMgr_Default RadInput_Empty_Default emptyMessage" 
 onmouseover="javascript:$radIE.mouseOver(event);" 
 onmouseout="javascript:$radIE.mouseOut(event);" 
 onkeypress="javascript:$radIE.keyPress(event);" 
 onblur="javascript:$radIE.blur(event);" 
 onfocus="javascript:$radIE.focus(event);" /> 
 

So anyone have any ideas on this one?  I don;t necessarily need to set the border but it looks like any style attribute I set that is already specified by the default stylesheets will get overridden.

Thanks,
Stoney
Dimo
Telerik team
 answered on 05 May 2009
2 answers
272 views
I created a contact form and I want to check the values for spam. 

The contactus.aspx page contains a bunch of RadTextBox within an HTML table.

<telerik:RadTextBox ID="txtFirstName" Runat="server" Label="First Name:"
Skin="WebBlue" Width="200px">
</telerik:RadTextBox>


The code behind for submit

 

 

using Telerik.Web.UI

 

 



protected void btnSubmit_Click(object sender, EventArgs e)
    {
        //Spam check for url=
         foreach(Control c in this.Controls)
        {

            if (c is RadTextBox)
            {
                // Attempting to reset the text value to test, just for testing to see if I am touching the control
                 (c as Telerik.Web.UI.).Text = "test";
            }
        }

}

Is this the right way to loop the form for RadTextBox?

David
Top achievements
Rank 1
 answered on 05 May 2009
1 answer
167 views

I have created a custom css-style for RadDocks. The only thing I cannot style at the moment is the border around the dropzone when RadDoscks are dragged. I used HighlightedCssClass to get a hatch pattern like this:

 

<style type="text/css">
.DockZoneSelectie {
background-color: #FFC272 !important;
}
.rdPlaceHolder {
background-color: #FFD7A3 !important;
background: url(images/hatch.gif) repeat;
}
</style> 
 
That works fine, however I cannot control the border around the dropzone, this dropzone is 2 pixels too wide so the border will be clipped when DockZones are next too each other. A screendump can be seen here here. I based my custom style on the default RadDock style but there is no style to be found there that sets the border. Also I used radDock.EnableEmbeddedBaseStylesheet = false; radDock.EnableEmbeddedSkins = false; to disable embedded skins. How do I get access to the border style of the highlighted area when docks are dragged?

Petio Petkov
Telerik team
 answered on 05 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?