Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 views
Hi all,

I have a RadTreeView which I'm binding to a SiteMapDataSource. When I click on a node, it navigates to the page URL in the SiteMap. Normally, this would likely be the behavior that one would want. However, in my case, I'm trying to use the control to allow the user to modify the tree. I don't want the control to navigate to the URL corresponding to the node when the user clicks on the node. I just want them to select the node. Does anyone know if there is a way to prevent it from navigating? I'm guessing I'm running into this problem since I'm binding to a SiteMapDataSource. I was thinking maybe I could set a Handled property on the EventArgs to the NodeClick event to override the navigation, but, it doesn't look like that is supported.

<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
<telerik:RadTreeView ID="RadTreeView1" runat="server" 
    DataSourceID="SiteMapDataSource1" Height="200px" 
    onnodeclick="RadTreeView1_NodeClick">
</telerik:RadTreeView>

Jon
Yana
Telerik team
 answered on 12 Jan 2011
8 answers
512 views
Hello,

I am using a RadDatePicker Q12008

If I have it this way:
<telerik:RadDatePicker ID="rdpStartDate" runat="server">  
     <DateInput   
        ID="DateInput1" runat="server"   
        DateFormat="MMM yyyy" DisplayDateFormat="MMM yyyy">  
     </DateInput> 
</telerik:RadDatePicker> 
 

I select a date and it displays it fine  "Mar 2007"

But if I change the formats to " DateFormat="MM/yyyy" DisplayDateFormat="MM/yyyy"

No matter what date I select, it always shows the month as 09 (the current month).. the year is correct

"09/2007" instead of "03/2007"

Ultimate goal is I need to be able to have them pick month and yeah, no day.

Thanks,
Matt
Casey
Top achievements
Rank 1
 answered on 12 Jan 2011
2 answers
98 views
Hello

I'd like to restrict the max row length to a certain amount so the typed text wraps on the next line after this amount has been passed.

Regards
Mihai
Mihai Dinculescu
Top achievements
Rank 1
 answered on 12 Jan 2011
4 answers
255 views
Hi,

Any body suggest me how to open the rad window in normal style..

Open like a browser window [it should look like how we open the page using window.open.]

In my app i have a button.

While click on that button i have some conditions checks.

If it satisfies my particular condition i have to open one URL (some times internal page some times other website page )

in new window with out blocking by pop up blocker.


I tried with java script window.open it is blocked by pop up blocker.

So i tried with Rad window. It is opening but i need the look and feel as default browser.

Please suggest me how to proceed on this.

Thanks in Advance
Thenmozhi
Georgi Tunev
Telerik team
 answered on 12 Jan 2011
2 answers
73 views
In the Clicking event I'm trying to get the text of the button, but sender.get_text() is giving me an empty string

Button is defined like this
<telerik:RadButton ID="showInputButton" runat="server" ButtonType="StandardButton" ToggleType="CustomToggle" AutoPostBack="False" ForeColor="Black" CommandArgument='<%# Eval("pdrid") %>' OnClientClicking="OnToggleInputClicking">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState PrimaryIconCssClass="rbAdd" Text="Show" />
                                    <telerik:RadButtonToggleState PrimaryIconCssClass="rbRemove" Text="Hide" />
                                </ToggleStates>
                            </telerik:RadButton>

Am I doing something wrong?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 12 Jan 2011
2 answers
74 views
Hi, i'm trying to validate the combobox using a customvalidator and a clienside validation function.
the problem is the validation function is not fired upon clicking the submit button.
it fires only when i change an item in the combbox.
So if i click submit button without changing an item no validation check happens.
How can i fix that?
Cori
Top achievements
Rank 2
 answered on 12 Jan 2011
2 answers
49 views
I have an app that we install at customer sites.  It builds a menu based on the user's application-level security settings.  We have a new customer that is running IE6 on their workstations.  The menu code that is getting generated looks like:

<Menu>
  <Group>
    <Item Text='Home' NavigateUrl='default.aspx' />
    <Item Text='Work Order Status' NavigateUrl='wosearch.aspx' />
    <Item Text='Device Info' NavigateUrl='devsearch.aspx' />
    <Item Text='Reports'>
      <Group>
        <Item Text='Inventory'>
          <Group>
            <Item Text='By Cost Center' NavigateUrl='rptInvByCostCtr.aspx' />
            <Item Text='By Description' NavigateUrl='rptInvByDevice.aspx' />
            <Item Text='By Manufacturer' NavigateUrl='rptInvByManf.aspx' />
          </Group>
        </Item>
        <Item Text='Work Orders'>
          <Group>
            <Item Text='CMs By Cost Center' NavigateUrl='rptWOByCostCtr.aspx' />
            <Item Text='PM Scheduling' NavigateUrl='rptPMScheduling.aspx' />
          </Group>
        </Item>
      </Group>
    </Item>
  </Group>
</Menu>

This works fine at the same site on computers running IE8, but on those running IE6 it works fine until you get to the second level (Reports > Inventory) but doesn't show the items that appear below that (By Cost Center, By Description, By Manufacturer).

Any ideas on how to fix this will be very greatly appreciated!
Steve LaForge
Top achievements
Rank 1
 answered on 12 Jan 2011
1 answer
233 views
Hi all,

I have a problem accessing the Item data from RadRotator.
I have created a custom control using RadRotator. I have an image and a Hyper link in my rad rotator.

<sf:RadRotator ID="ImageRotatorId" runat="server" RotatorType="AutomaticAdvance" WrapFrames= "true" Width="550px" Height="260px">
    <ItemTemplate>
            <div>
                <asp:Image runat="server" ID="newsImage" style = "width:550px; height:260px; "></asp:Image>
            </div>
            <div>
                <asp:HyperLink onclick ="toggleLocation()" runat= "server" id="caption" width ="550px">
                </asp:HyperLink>
            </div>
    </ItemTemplate>
</sf:RadRotator>
<panel id = "location_map" visible = "false"> </panel>

now I want to get the data associated with my image ($find('<%= ImageRotatorId.ClientID %>')).get_currentItem() gives me the current element but how to get the data associated with this element in my java script.


Thanks,
Mohit
Rumen
Telerik team
 answered on 12 Jan 2011
2 answers
119 views
Hello Telerik Guys,

I have a error in the File explorer control. When i moving the folders from one folder to another folders i have got the error message of "The selected folder could not be deleted because the application did not have enough permissions.Please contact the administrator".

Please see the attached image.

Hare i have a question i am performing the Move operation but the control gives me the error msg for the delete operation.

Please Consider my request that how would i overcome with above mentioned problem.

Your suggestios and feedback will greatful to me.

I am looking forward of your quick respone.

Thanks.
Dobromir
Telerik team
 answered on 12 Jan 2011
1 answer
40 views
Hi
We are using Ajaxcontrol toolkit version 4.1.40412.2 and Telerik version 2009.02.0826.20 but when we load Ajax control in
combination of Telerik controls then it gives general JavaScript error .
Can you please provide details of the correct version of Telerik dll compatible with correct version of Ajaxcontrol toolkit dll
and supported JavaScript file.
Also if possible  please provide sample project for the issue 
please not we are using Visual studio 2010 with Framework 3.5
Sebastian
Telerik team
 answered on 12 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?