Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
I want to open a RadWindow when a button is clicked. I placed the code in the Button Click event on the server side. However, when the button is clicked the entire Click event is processed before the RadWIndow is displayed and the user input from that RadWIndow is captured. I want to use the User's input from the RadWindow within the Button Click event. Is this possible?
Protected Sub RadButtonBudgetSettingsEdit_Command(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs)
        Dim script As String = "function f(){$find(""" + RadWindowBudgetIDNo.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
        ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, True)
'
'Based on the User's input in the RadWindow displayed above, I want to execute some code before leaving this procedure
'The user's input is captured in a Session variable.
'
'e.g.
NewSubRoutineToBeExecutedBeforeLeavingThisClickEvent(Session("UserSelectedIDNo")
 
End Sub

Currently, this button click procedure executes all the way to the End Sub before the RadWIndow is displayed.

Here is the ASPX code.
<telerik:RadWindow runat="server" ID="RadWindowBudgetIDNo" NavigateUrl="SelectBudget.aspx" Modal="true" ></telerik:RadWindow>

Thanks,
pat
Marin Bratanov
Telerik team
 answered on 23 Jul 2012
1 answer
194 views
Hi 


I have already developed a windows application. Now i am going to convert the windows application to web application.. I want to use the same theme used in windows application in my web application also. Is there any easy way to convert the themes from windows to web.


Will Telerik provides various themes for whole application? I need apple theme to be applied in my application.. Please provide me the apple theme css Files...



Thanks
Galin
Telerik team
 answered on 23 Jul 2012
2 answers
211 views
hello, 
I am using AsyncUpload in ASP.Net with Vb . i want to add File Extension Dynamically from Code behind but it doesn't work. Below is my Code please help me if any one have idea its urgent

Dim strIds as string=".wmv, .mp4, .pdf, .swf"
Dim ids As String() = {strIds}
Upload1.AllowedFileExtensions = ids

Amit
Top achievements
Rank 1
 answered on 23 Jul 2012
1 answer
161 views

I am confused on how to work with the Css for RadPanel.  At first I just had a few classes defined for rpText like one example and the control and site set to default skin/theme but the first item in the list is white text on white so you can't see the description. I tried using WebBlue skin on the control but I don't see any difference in how it renders. There is no rpText class defined either. Also the controls in the expanded area are shifted up into the HeaderTemplate area. I am using HeaderTemplate and ItemTemplate.

I just wanted it to be a blue header area with a 3d type background and white text. I would like this header area to stay consistent whether it is expanded or not. Same with the expanded panel area. Maybe a light color of blue. For some reason the first item is white, and the second blue.

Am I missing a main css file ?

Thanks in advance.
Mary
Kate
Telerik team
 answered on 23 Jul 2012
1 answer
103 views
I have followed the example I found on the Telerik site on how to create a string representing the full path of the "checked" node in the tree view.  This is working fabulously and the function is below:
function clientNodeChecked(sender, eventArgs) {
    var node = eventArgs.get_node();
    var s = node.get_text();
    var currentObject = node.get_parent();
    while (currentObject != null) {
        if (currentObject != node.get_treeView()) {
            s = currentObject.get_text() + " > " + s;
        }
        else {
            break;
        }
        currentObject = currentObject.get_parent();
    }
    var tbPath;
    tbPath = $get("<%= lblFullPath_InvGroupOwner.ClientID  %>");
    tbPath.innerHTML = s;
}

Well, I have many RadTreeView controls on my screen and throughout my application and I'm wanting to avoid writing a javascript per tree just so I can name the textbox control that is supposed to contain the Full Path string.

I will admit that I'm learning JavaScript in conjunction with learning the Telerik controls so this may be an obvious answer to a more experienced JavaScript developer, but what do I need to do in order to pass the ClientID to this method for the textbox I'm wanting to store the FullPath?

Sadly, there isn't a client-side version of the control's GetFullPath() method :(

Thanks in advance,
Ray
Plamen
Telerik team
 answered on 23 Jul 2012
2 answers
124 views

Team,

I am using a fieldset in radsplitter control(vista skin).

The background of the splitter pane is not getting applied when we move the scrollbar.

It is only happening with the scrollbars. If I resize the splitter pane; it Fieldset works properly.

Using <Style=”overflow:auto”> for the fieldset inside the splitter pane is solving the problem, but that is breaking the scrollbar.

I have seen this issue in IE 7,8,9.

But working proper in chrome & FF.

I have attached the screenshot for it.

Please let me know the solution for this problem As soon as possible.

Thanks

Sampada

Niko
Telerik team
 answered on 23 Jul 2012
4 answers
190 views
Hi All,

Is there any Hide Weekend type functionality available on the scheduler yet? 

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 23 Jul 2012
1 answer
121 views
I have seen many threads on this - but none have presented a fix for my issue. I cannot get the grid to rebind to an xml datasource. Any help would be very appreciated.
<body>
    <form id="form1" runat="server">
        <center>
            <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Hay">
                <TargetControls>
                    <telerik:TargetControl ControlID="RadTextBox1" />
                    <telerik:TargetControl />
                    <telerik:TargetControl ControlID="RadSplitter2" />
                    <telerik:TargetControl />
                    <telerik:TargetControl ControlID="m_navPanelBar" />
                    <telerik:TargetControl />
                </TargetControls>
            </telerik:RadSkinManager>
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <Scripts>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
                </Scripts>
            </telerik:RadScriptManager>
 
            <asp:XmlDataSource ID="m_xmlDs" runat="server"></asp:XmlDataSource>
 
            <telerik:RadSplitter ID="RadSplitter1" Runat="server" Orientation="Horizontal" Width="100%" Height="100%">
 
                <telerik:RadPane ID="RadPane1" Runat="server" Height="150">
                    <asp:Label ID="m_lblConnection" runat="server" Text="Label"></asp:Label>
                    <telerik:RadTextBox ID="RadTextBox1" Runat="server" Width="100%" Height="100" TextMode="MultiLine">
                    </telerik:RadTextBox>
                    <telerik:RadButton ID="Button1" runat="server" Text="Run"/>
                </telerik:RadPane>
 
                <telerik:RadPane ID="RadPane2" runat="server">
                    <telerik:RadGrid ID="m_grid" runat="server" DataSourceID="m_xmlDs">
                    </telerik:RadGrid>
                </telerik:RadPane>
 
            </telerik:RadSplitter>
        </center>
    </form>
</body>
protected void Page_Load(object sender, EventArgs e)
{
   if(IsPostBack)
   {
      m_xmlDs.Data = "<rows><row id=\"100\" name=\"Person\" LastName=\"One\" /><row id=\"101\" name=\"Person\" LastName=\"Two\" /></rows>";
      m_grid.Rebind();
   }
   else
   {
      m_xmlDs.Data = "<root />";
   }
}
Radoslav
Telerik team
 answered on 23 Jul 2012
3 answers
137 views
hello,

    Please see attachment. I am working on telerik grid. There are 5 hierarchy in grid.
    Process
    RiskArea
    Risk
    Obj
    Ctrl

     Now I want to use control panel to display grid dynamically. Can telerik support it? e.g. if set display process=on, riskarea=off, risk=off, obj=on, ctrl=on, then in grid, it will only display process->obj->ctrol.

    Any good idea to realize it?

Thanks a lot
Mark
Eyup
Telerik team
 answered on 23 Jul 2012
1 answer
111 views
Hi,

Following error is getting on for a rad tool tip manger in radgrid edit button.
RadToolTipManager response error:
 Exception=Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: .

Marin Bratanov
Telerik team
 answered on 23 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?