Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
76 views
Hi,

I have a problem with RadMenuItem,

My Question is, I have created one RadMenu with RadMenuItems, where the RadMenuItems will display in horizontal direction.

Up to now it is working fine, but when i click on outside of RadMenu, the RadMenuItems are not displaying

How to display the RadMenuItems continuously ...


Please help me..
Naresh
Top achievements
Rank 1
 answered on 23 May 2011
6 answers
244 views
Hello
I have telerik:RadListBox.  I have a tooltip manager .
<telerik:RadToolTipManager runat="server" ID="radTTMgr" CssClass="prodOPB" Position="BottomRight" RelativeTo="Element"
    Width="180px" Height="100px" Animation="Fade" ShowCallout="false" OffsetX="-70" OffsetY="-1"
    ShowDelay="0" ShowEvent="OnClick" OnAjaxUpdate="OnAjaxUpdate" Skin="MySkin" HideEvent="LeaveTargetAndToolTip"       
    EnableEmbeddedSkins="false" >
</telerik:RadToolTipManager>

On RadListBox OnItemDataBound  I add controls to target controls collection
Control image = e.Item.FindControl("imgMenu");
this.radTTMgr.TargetControls.Add(image.ClientID, e.Item.DataKey.ToString(), true);

Everything is working fine except one minor thing that needs to be adjusted. When I do following sequence tooltip closes
1.   Click on target
2.   Move mouse to tooltip
3.   Move back to target and tooltip disappears.
At the same time as I do step 3 my ListItem is getting a “hover” class, so I’m wondering if that’s what causes my issue. I tried to use OnClientBeforeHide  to cancel close if my mouse is over target control but I could not figure that out. Can you please help
Thank you
Svetlina Anati
Telerik team
 answered on 23 May 2011
3 answers
99 views
Does anyone know how to remove the space before the text on the button. It looks like space for an icon but I dont want to use an icon. I just want to display text.

Thanks
Shinu
Top achievements
Rank 2
 answered on 23 May 2011
3 answers
96 views
This seems like something that would be fairly straightforward to do.  In my grid, I want to have the 2 letter state abbreviation show up as a gridbound column.  But, when you go to edit or create a new record, I want the state column to be a griddropdowncolumn.  I'm would like to use the autogenerated form for this, not have it be inline edit.  What's the best way to go about this?  Thanks.
Princy
Top achievements
Rank 2
 answered on 23 May 2011
1 answer
29 views
hi,

have you seen this problem?

http://clip2net.com/s/WFXo

I don't know how to solve this one.

I have this code in my radgrid and I also declare a javascript "dblClickRow" in the head but it keeps popping up.
<ClientSettings>
<Resizing EnableRealTimeResize="True" AllowColumnResize="True"></Resizing>
        <ClientEvents OnRowDblClick="dblClickRow" />
<Selecting AllowRowSelect="True" EnableDragToSelectRows="False"></Selecting>
</ClientSettings>

Pavel
Telerik team
 answered on 23 May 2011
4 answers
115 views
First off, awesome 2011 Q1 release.  The new RibbonBar control is awesome!  I do have one question/issue though.

I have a pretty basic RibbonBar setup:

<telerik:RadRibbonBar ID="RibbonBar" runat="server">
        <telerik:RibbonBarTab Text="Home">
        </telerik:RibbonBarTab>
        <telerik:RibbonBarTab Text="Issue Tracker">
            <telerik:RibbonBarGroup>
                <Items>
                    <telerik:RibbonBarButton Text="Project Summary" ID="btnIssueTracker_ProjectSummary"
                        runat="server" Size="Large" />
                    <telerik:RibbonBarButton Text="Add Issue" ID="btnIssueTracker_AddIssue" runat="server"
                        Size="Large" />
                </Items>
            </telerik:RibbonBarGroup>
        </telerik:RibbonBarTab>
        <telerik:RibbonBarTab Text="Administration">
        </telerik:RibbonBarTab>
    </telerik:RadRibbonBar>

On the page below the RibbonBar, I have some controls (dropdowns, textboxes, etc) with validators attached to them.  However if I am on a page with validators and click on a different tab, it triggers a validation check.  I am using the RibbonBar as a sort of navigation menu so I need to be able to click any of the tabs without validating the page.  I didn't find a CausesValidation method on the control or button, am I missing it somewhere?
Simon
Telerik team
 answered on 23 May 2011
9 answers
1.2K+ views
Hello

I hv give the exception run time

Server Error in '/GowanKB' Application.

Selection out of range
Parameter name: value

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Selection out of range
Parameter name: value]
Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +180
Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +39
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +114
Telerik.Web.UI.RadComboBox.PerformSelect() +37
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e) +36
Telerik.Web.UI.RadComboBox.OnPreRender(EventArgs e) +42
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053


why this come

my querty is
SELECT DisplayName + ' ' + CoopOrg AS Name, Email FROM dbo.Coop
i can create the dummy column Name by using 2 different column it working sucessfully


and combobox property are

<telerik:RadComboBox ID="radcoopname" runat="server" Width="310" AppendDataBoundItems="true"
                                MarkFirstMatch="true" AutoPostBack="true" DataSourceID="coopname" DataTextField="Name"
                                DataValueField="Email" ExpandAnimation-Type="InQuart" CollapseAnimation-Duration="200"
                                CollapseAnimation-Type="Linear" CollapseDelay="400" CausesValidation="True">
                                <Items>
                                    <telerik:RadComboBoxItem Text="Select Coop Name" />
                                </Items>
                            </telerik:RadComboBox>


and code behind

 radcoopname.SelectedValue = (Session("CoOpDetail")).ToString

i need to select the session value when the combox load 
how i do this help me urgentttt

Can you please tell me where is the problem why this exception occure



Simon
Telerik team
 answered on 23 May 2011
1 answer
129 views

I am getting the following client-side error message.  It appears that Telerik's JavaScript is failing.  Can anyone give me a kick in the right direction as to how to figure out what might be going wrong?

Here is the Telerik javascript that appears to be failing:

 

 

Sys.UI.Control=function(a){Sys.UI.Control.initializeBase(this);this._element=a;
<line 6, char 94383>
a.control=this};

 

 

Microsoft Windows 7 Professional
Microsoft Internet Explorer 8
Telerik RadControls for ASP.NET AJAX 2011.1.315.35


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Timestamp: Fri, 20 May 2011 18:16:23 UTC

Message: 'undefined' is null or not an object
Line: 6
Char: 94383
Code: 0
URI: http://mydevbox.reisys.com/WebSamplesInternal/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_REIRadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3afab31106-1bd6-4491-9a14-59e0fc4a7081%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3ae4ca4719-c559-4761-8501-9be20bbda1fe%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3a4cacbc31%3ab7778d6c%3aed16cbdc

 

Simon
Telerik team
 answered on 23 May 2011
1 answer
91 views
It all looks good, but is there any documentation on client-side API, I wonder?
I failed to find one, except for http://www.telerik.com/help/aspnet-ajax/ribbonbar-client-programming-basics.html which is pretty limited.

For example, I would like to hide/display tab on client-side.
I've tried bar._tabs.getTab(1).get_pageView().style.display = "none"; but it does not hide the "tab strip" part.

I may eventually find the solution, but I wonder if there is a documentation somewhere that I'm missing... Please advise.

Simon
Telerik team
 answered on 23 May 2011
9 answers
569 views
I am new to RadTabStrip, ann came across something that need your help. 

I am using RadTabStrip with RadMultiPage. I open new aspx files for each of the Tabs.
Now I need to add a button to the first Tab, which will load the second tab and display it's content. (Just like, any other link which will open the requested link).

But when  I give the implement the onclick event of the button to navigate to the second aspx file (Booking.aspx), it will simply load another Tabstrip inside the first Tab. It results in showing the radtadsrip again inside the first tab. 

Please help me to open the second tab using the button, in the same way as if it is navigated by clicking on the second tab.

Below is my aspx file: 
  <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Web20" MultiPageID="RadMultiPage1"
            SelectedIndex="0" Align="Justify" ReorderTabsOnSelect="true" Width="800px">
            <Tabs>
                <telerik:RadTab Text="DashBoard">
                </telerik:RadTab>
                <telerik:RadTab Text="Booking">
                </telerik:RadTab>              
            </Tabs>
        </telerik:RadTabStrip>       
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView"
            Width="800px" Height="520px">
            <telerik:RadPageView ID="RadPageView1" runat="server" Width="100%" Height="100%">
                <iframe frameborder="0" width='800' height='520' scrolling="yes" src="Dashboard.aspx">
                </iframe>
            </telerik:RadPageView>
            <telerik:RadPageView ID="RadPageView5" runat="server" Width="100%" Height="100%">
                <iframe frameborder="0" width='800' height="100%" scrolling="yes" src="Booking.aspx">
                </iframe>
            </telerik:RadPageView>         
        </telerik:RadMultiPage>


Thanks,
Nimesha
Dimitar Terziev
Telerik team
 answered on 23 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?