Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
96 views
I have set up my tabcontrol, but when it runs it never moves off of the first one.  I think it has something to do with the
selectedindex="0", but the builder didn't put anything in for that.  I tried the Javascript I found on here but that just generates
an error that tabstrip.get_element())is null.

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0"
    ontabclick="RadTabStrip1_TabClick" Skin="Black">
    <Tabs>
        <telerik:RadTab runat="server" NavigateUrl="~/Default.aspx"
            Selected="True" Text="Home">
            <Tabs>
                <telerik:RadTab runat="server" NavigateUrl="~/Careers.aspx"
                    Text="Careers">
                </telerik:RadTab>
                <telerik:RadTab runat="server" NavigateUrl="~/ContactUs.aspx" 
                    Text="ContactUs">
                </telerik:RadTab>
                <telerik:RadTab runat="server" NavigateUrl="~/About.aspx" 
                    Text="About Us">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTab>
        <telerik:RadTab runat="server" NavigateUrl="~/Service.aspx"
             Text="Services">
            <Tabs>
                <telerik:RadTab runat="server" NavigateUrl="~/GetAQuote.aspx" 
                    Text="Get A Quote">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTab>
        <telerik:RadTab runat="server" NavigateUrl="~/Products.aspx"
             Text="Products">
            <Tabs>
                <telerik:RadTab runat="server" NavigateUrl="~/pads.aspx"  Text="Pads">
                </telerik:RadTab>
                <telerik:RadTab runat="server" NavigateUrl="~/holiday1.aspx" 
                    Text="Holiday Cards">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTab>
        <telerik:RadTab runat="server" NavigateUrl="~/Resources.aspx"
             Text="Resources">
        </telerik:RadTab>
        <telerik:RadTab runat="server" NavigateUrl="~/Uploadafile.aspx"
             Text="Up Load A File">
        </telerik:RadTab>
        <telerik:RadTab runat="server" BackColor="Transparent" Font-Bold="True"
            ForeColor="Red" Text="On-line Specials" NavigateUrl="~/Specials.aspx">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<script type="text/javascript">
    function pageLoad() {
        var tabstrip = $find("RadTab");
        $telerik.$("a", tabstrip.get_element()).bind("focus", function () {
            var index = $telerik.$("a", tabstrip.get_element()).index(this);
            tabstrip.get_tabs().getTab(index).set_selected(true);
        });
    }
</script>

Kate
Telerik team
 answered on 21 Jan 2012
9 answers
263 views
Hello! I haven't seen one listed in the available charts, and was wondering if there are any plans to implement one? Could really use it :)

Regards!

Steve
Miro Miroslavov
Telerik team
 answered on 21 Jan 2012
3 answers
622 views
My problem is when i try to use Telerik.Web.SkinRegistrar.GetWebResourceUrl like this :

<

 

 

asp:ImageButton ID="btnEditExternalCollaborator" runat="server" ImageUrl='<%# Telerik.Web.SkinRegistrar.GetWebResourceUrl(Me, GetType(RadGrid), "Telerik.Web.UI.Skins.Office2007.Grid.Edit.gif") %>' ToolTip="btnEditExternalCollaboratorTooltip" />


in an usercontrol. Error is :

BC30311: Une valeur de type 'ASP.subject_psi_uccollaborators_ascx' ne peut pas être convertie en 'System.Web.UI.Page'.

How I can do in userontrol ?
Abhishek
Top achievements
Rank 2
 answered on 21 Jan 2012
2 answers
326 views
Hi,

I have some complicated scenario over here. I have one User control with one button, on click of this button modal popup is open up.
I need electives from below:

* Can same Panel control (Within modal popup) open in radtooltip? 

OR

* If I will make new user control and call this new user control as tooltip on parent user control's button?

Thanks,

Kaushal Jani
Kaushal
Top achievements
Rank 1
 answered on 21 Jan 2012
1 answer
119 views
Does the uploader have the ability to upload all files within a specific folder instead of uploading a file one by one.
Richard
Top achievements
Rank 1
 answered on 20 Jan 2012
10 answers
314 views
I use RadFilter on radgrid, everything worked just fine for a while, but after I added more features to the grid (show/hide column, exporting), all the sudden the filter stop working and throw error on "Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.", after search I guess it might have something to do with exporting, I use external button for word exporting, but i am not using filter in the grid, I use RadFilter associate with the radgrid...any ideas?

Thanks,

Shan
Dave
Top achievements
Rank 1
 answered on 20 Jan 2012
0 answers
87 views
Good afternoon folks,
I have in my aspx page a form where user fill out all necessary information to sent email.The form contains numerious numbers of Telerik controls.
I have RadComboBox with autopostback = true(this is in the middle of the form).When user select from ComboBox 'Yes' or 'No' it fire event:

protected

 

void ddlAprv_SelectedIndexChanged1(object o, RadComboBoxSelectedIndexChangedEventArgs e)

 

{

 

RadPanelBar attestPanel = (RadPanelBar)formPanel.FindItemByValue("principalForm").FindControl("attestationPanel");

 

 

RadNumericTextBox jobPostNo = (RadNumericTextBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("JobPostingNo");

 

 

RadComboBox ddlAprvPost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlAprv");

 

 

RadComboBox ddlpost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlPost");

 

 

if (ddlAprvPost.SelectedValue == "Y")

 

{

jobPostNo.Enabled =

true;

 

jobPostNo.Focus();

}

 

else

 

{

 

if (jobPostNo.Text.Length > 0)

 

{

jobPostNo.Text =

string.Empty;

 

}

jobPostNo.Enabled =

false;

 

ScriptManager1.SetFocus(ddlpost.ClientID +

"_Input");

 

 

 

}

}


 

 

Focus goes to the next Box and ask to put some numbers.This is working for IE8
But for IE7 focus is lost and form jump right to the top.

Please help me to resolve this issue.
Thanks

 

Vitaly
Top achievements
Rank 1
 asked on 20 Jan 2012
1 answer
276 views
Hi,

I am using radupload in my application. i want to display full path in the radupload textbox. but displaying file name only. i want to display full path like (c:/images/sampleImages/test.jpg). but in IE displaying (C;/fakepath/test.jpg). in FIREFOX displaying(test.jpg) and CHROME displaying (test.jpg). i want to display full path.

How to display full path in the radupload textbox.

Thanks in Advance,
Dhamu.
Richard
Top achievements
Rank 1
 answered on 20 Jan 2012
4 answers
226 views
Hi,

I have a RadWindowManager and open up RadWindows client-side through the manager control.
I'm not sure if I set a property wrong or what, but minimizing/restoring a radwindow causes the page inside the radwindow to postback.
Maximizing/restoring, moving, resizing the radwindow does not postback.  Only minimize/restore causes a postback.

The only client event I have on the RadWindowManager is OnClientBeforeClose
This is the manager:
<telerik:RadWindowManager ID="RadWindowManagerParent" runat="server" Animation="None" OffsetElementID="wrapper"
    MinimizeZoneID="DivMinimizeZone" RestrictionZoneID="TdContent" EnableTheming="true"
    AnimationDuration="250" DestroyOnClose="true" EnableShadow="true" IconUrl="~/Images/Blue/Window_Icon.png"
    PreserveClientState="true" ShowContentDuringLoad="false" ShowOnTopWhenMaximized="false"
    Width="1000" Height="650" VisibleStatusbar="false" ReloadOnShow="true" KeepInScreenBounds="false"
    Style="z-index: 2501;" Behaviors="Close,Maximize,Minimize,Move,Reload,Resize"
    OnClientBeforeClose="RadWindowManagerParentOnClientBeforeClose">
    <Windows>
    </Windows>
</telerik:RadWindowManager>

Any ideas?

Thanks!!!
Sam
Top achievements
Rank 1
 answered on 20 Jan 2012
5 answers
179 views
Hi All,

On my page, there are 3 Rad Calendars with MultiViewColumns="2" MultiViewRows="6". Above them there are 4 Rad buttons for navigation purpose ( 2 for backward & 2 for forward) . I want to navigate all 3 calendars by clicking on those 4 buttons. In buttons' click event, I am setting focusdate of each calendar but it doesn't work properly. 

1) Is it possible to do this ?
2) If no, then, is it possible that by clicking on one RadCalendar's navigation button, for other 2 calendars navigation events also get fired?
3) Any other way around to do that.


Thanks,
-AA
Richard
Top achievements
Rank 1
 answered on 20 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?