Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
I have a website you have to login to use.  Using a RadSplitter and RadPane.  The RadPanes have aspx pages inside of them. 

If the users session expires and the PadPanes display the login page inside of it.  The preferred way would be the parent page to display the login page, instead of each page within the RadPane displaying it. 

Is there anyway to handle this easy?   The only solution I know right now is to have the login page check if it has a parent page, if it does it knows it is running within a RadPane, therefore call a javascript funtion on the Parent to have it change to the login page.

Any other options?
Svetlina Anati
Telerik team
 answered on 29 Jan 2010
1 answer
93 views
I'm creating docks dynamically, and would like to use a dynamically-loaded popup (a configuration panel, basically) to respond to client clicks on a particular custom command button on each dock.

I've seen articles on how to use the OnClientCommand feature to trigger a ToolTip from a command icon, but I'd like to make use of the _AjaxUpdate event handler that the ToolTipManager offers.  I haven't been able to find a combination of control configurations that results in a tooltip popup, triggered by a dock command icon click, that triggers the _AjaxUpdate event handler so I can dynamically populate the tooltip.

Is there a way to do this?  Thanks in advance!
Svetlina Anati
Telerik team
 answered on 29 Jan 2010
1 answer
85 views
Hi,
Could ou help me with a simple sample using a dataset as Source and allowing Edit and Insert (no sql or linq only ds or dt). I have tested using Need Datasource and bind but is not clear. Thanks
Iana Tsolova
Telerik team
 answered on 29 Jan 2010
3 answers
137 views
I have a RadCombo box that I am using like the Google Style type ahead and everything is working good.  Now this is what I am trying to acomplish.  I only want the OnSelectedIndexChanged event to fire if an item is selected from the dropdown, It dosent matter if it is client or server side.  Is there any way to acomplish this?

Thank you in advance,

Chris
Kalina
Telerik team
 answered on 29 Jan 2010
3 answers
168 views
Banging my head here!

For testing purposes I load the content of a RadTextBox and a RadEditor with some sample text on load. Then, on postback I can get the data from the RadTextbox just fine, but, the data from the RadEditor is exactly the same from what was loaded! It's like nothing is being posted back for me to get the values from. Has anyone seen this before?

        <tr> 
            <td class="Label">Body</td> 
            <td><telerik:RadTextBox ID="txtBody" Height="200" Width="500px" runat="server" Skin="Office2007" CssClass="InputBox" TextMode="MultiLine" /></td
        </tr>         
             
        <tr> 
            <td class="Label">Body</td> 
            <td> 
            <telerik:RadEditor ID="RadEdit01" runat="server" Width="500px" Height="300"  Skin="Office2007" AutoResizeHeight="true"
            <Tools> 
                <telerik:EditorToolGroup> 
                    <telerik:EditorTool Name="Bold" /> 
                    <telerik:EditorTool Name="Italic" /> 
                    <telerik:EditorTool Name="Underline" /> 
                    <telerik:EditorTool Name="Cut" /> 
                    <telerik:EditorTool Name="Copy" /> 
                    <telerik:EditorTool Name="Paste" /> 
                    <telerik:EditorTool Name="FontName" /> 
                    <telerik:EditorTool Name="RealFontSize" /> 
                </telerik:EditorToolGroup> 
                <telerik:EditorToolGroup> 
                    <telerik:EditorTool Name="InsertTable" /> 
                    <telerik:EditorTool Name="InsertImage" /> 
                    <telerik:EditorTool Name="LinkManager" /> 
                    <telerik:EditorTool Name="Unlink" /> 
                    <telerik:EditorTool Name="InsertOrderedList" /> 
                    <telerik:EditorTool Name="InsertUnorderedList" /> 
                </telerik:EditorToolGroup> 
            </Tools> 
            </telerik:RadEditor> 
            </td> 
        </tr> 


In my page on postback I can do txtBody.text and see my new changed values, but, RadEdit01.Content nothing has changed, even though I typed in different text.

Nothing fancy is going on, but I am working within master pages. Not sure why that would cause any issues. Nothing is inside a content area for Ajax calls. I can't figure this one out!
Rumen
Telerik team
 answered on 29 Jan 2010
2 answers
124 views
Hi,

I am facing a problem while setting the empty message in radcombo

this my radcombo

 

<telerik:RadComboBox ID="RadComboBoxDispenseQ" runat="server" Height="170px" Width="100%"

 

 

EnableLoadOnDemand="true" Style="margin: 0 auto 0 0px; display: block !important;"

 

 

EmptyMessage="Select Dispenseq" AllowCustomText="false" ToolTip="Select Dispense"

 

 

ExpandAnimation-Type="InCubic" Skin="Hay" ZIndex="10000000" LoadingMessage="LOADING"

 

 

BackColor="#EDFBE1" DropDownWidth="200"

 

 

>

 

 

</telerik:RadComboBox>

I am binding it in pageload

 

 

if (!IsPostBack)

 

{

 

FillDispenseQ();

}

 

 

private void FillDispenseQ()

 

{

 

string selectDispenseQ = // my query
DataTable dtDispenseQ = SqlHelper.ExecuteDataset(new Connection().GetCon, CommandType.Text, selectDispenseQ).Tables[0];

 

RadComboBoxDispenseQ.DataSource = dtDispenseQ;

RadComboBoxDispenseQ.DataValueField=

"SS_CODE";

 

RadComboBoxDispenseQ.DataTextField =

"DISPENSE";

 

RadComboBoxDispenseQ.DataBind();

 

}

It always shows first item intead of emty message on page load.How can i set the empty message?

Plz help

abhay
Top achievements
Rank 1
 answered on 29 Jan 2010
8 answers
288 views
Hi,

In my project I have a couple of nested RadSplitters to lay out the pages. Generally it works fine, however there is one prominent issue. When I resize the entire window by dragging the border of my browser it regularly happens that I get an unwanted white space on the right side.
It does not always happen, but if you make the window smaller and smaller it is bound to happen at one point. It goes way immediately when you make the window larger only by the smallest amount.
My guess is that it has something to do with the vertical scrollbar, because the unwanted white space seems to be both the position and the size of it.
Could you please advise me how to avoid this behavior? It would be embarrasing to have to tell out clients that all they have to do is make the window a bit larger again to get rid of the unwanted white space. (As a matter of fact, the overall background in my project is red and the unwanted white space is actually red so it's even more eye catching.)
I have added an archetype example of the page layout I use in my project below.

I also have a related issue, I think.  Sometimes it happens that there appear inactive (but visible; greyed-out) vertical and horizontal scroll bars in my browser window when resizing. This does not happen nearly as often as the white space issue, but when it does happen making the window a bit larger does not help. I have te completely refresh to get rid of them. Mayby you can look into that as well if they are indeed related. Or is it better if I create a new support thread for this issue?

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ResizeTest.aspx.cs" Inherits="CMS.Views.Tests.ResizeTest" %> 
 
<%@ 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
     
    <style type="text/css"
        html, body {margin:0px; padding:0px;} 
        .Header{ background:#cc0000;} 
    </style>     
</head> 
 
<body> 
    <form id="form1" runat="server"
        <asp:ScriptManager ID="smDefault" runat="server" /> 
         
        <telerik:RadSplitter ID="rs1stLevel" Runat="server" Width="100%" Height="100%" Orientation="Horizontal" 
            BorderStyle="None" PanesBorderSize="0"
             
            <telerik:RadPane ID="rpHeader" runat="server" Height="50" Scrolling="None" CssClass="Header"
                header pane 
            </telerik:RadPane> 
             
            <telerik:RadPane ID="rpMain" runat="server" Scrolling="None"
                <telerik:RadSplitter ID="rs2ndLevel" runat="server" Width="100%" Height="100%" Orientation="Vertical" 
                    BorderStyle="None" PanesBorderSize="0"
                     
                    <telerik:RadPane ID="rpNavigate" runat="server" Width="200" Scrolling="Both"
                        navigate pane 
                    </telerik:RadPane> 
                     
                    <telerik:RadSplitBar ID="rsbNavigate_Content" runat="server" CollapseMode="Forward" /> 
                     
                    <telerik:RadPane ID="rpContent" runat="server" Scrolling="None"
                        <telerik:RadSplitter ID="rs3rdLevel" runat="server" Width="100%" Height="100%" 
                            Orientation="Horizontal" BorderStyle="None" PanesBorderSize="0"
                             
                            <telerik:RadPane ID="rpSummary" runat="server" Height="100" Scrolling="Both"
                                summary pane 
                            </telerik:RadPane> 
                             
                            <telerik:RadSplitBar ID="rsbSummary_Details" runat="server" CollapseMode="Forward" /> 
                             
                            <telerik:RadPane ID="rpDetails" runat="server" Width="200" Scrolling="Both"
                                details pane 
                            </telerik:RadPane> 
                         
                        </telerik:RadSplitter> 
                    </telerik:RadPane> 
                 
                </telerik:RadSplitter> 
            </telerik:RadPane> 
         
        </telerik:RadSplitter> 
    </form> 
</body> 
</html> 
 

Regards,

Mink Bruijninckx
Svetlina Anati
Telerik team
 answered on 29 Jan 2010
1 answer
76 views
I have ListData contains RAdGrid and i see this enhancement on Header Chk

"if all the check boxes are checked (all rows selected), the check box in the header is also checked. Furthermore, if a single check box (row) is unchecked (unselected) the "Select All" check box is unchecked as well."
http://www.telerik.com/community/code-library/aspnet-ajax/grid/gridclientselectcolumn-un-check-select-all-check-box-automatically.aspx

its work fine on direct use,
but i cant handel that on nested radgrid(DataList contain radgrid with Header Chk  enhancment )

thanks
Omar



Tsvetoslav
Telerik team
 answered on 29 Jan 2010
1 answer
184 views
Hi

I need the slider to increment in 0.5 steps, it does not matter to show 0.5, 1, 1.5 in the ticks but is it possible to increment in between, so 0.5, 1, 1.5.

Also, is it possible so the drag handle to stop at 0.5 and cannot go to 0?

Many thanks.

Richard
Tsvetie
Telerik team
 answered on 29 Jan 2010
3 answers
253 views

Hi All,

Hoping that someone can help:

I have a RadListView and within the RadListView in the item template, I have a RadRating component. This I have bound to a Linq result set and this all works perfectly. To prevent the entire page posting back when rating each RadRating control, I put the list view in an RadXmlHttpPanel and performed the database submission in the RadXmlHttpPanel_ServiceRequest event.

This all works great but then it returns, the error:
XmlHttpPanel Callback Loading error:
Exception=Script control 'ResponseRadRating' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

As mentioned in other posts, I have tried setting the EnableClientScriptEvaluation to "true" on the RadXmlHttpPanel and RegisterWithScriptManager to "false" on the RadRating controls that are in the Item template of the RadListView control. Once I have set these up, the RadXmlHttpPanel_ServiceRequest event no longer fires.

Does you have any suggestions?

Pero
Telerik team
 answered on 29 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?