Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
316 views
Hello
I have been trying to create a theme for raddocks with two custom skins and I get this compilation error message "Telerik.Web.UI.RadDock already has a default theme defined." whenever i try to add a second skin file to the theme folder.

Any ideas to solve this problem?
Martin
Telerik team
 answered on 23 Nov 2009
1 answer
171 views
Hi,

I want to put a ExportToExcel Button on top of the radgrid i.e. exactly beside the columns of the radgrid
The Button should show a image of Excel Icon
and by clicking it we can do the export to excel operation
I have got the functionality but i want to keep the button right on top of the gird beside the columns please help me     
Shinu
Top achievements
Rank 2
 answered on 23 Nov 2009
1 answer
107 views
i have a grid
inside that gird i have Itemtemplate
and in that itemtemplate i have Div
and in that DIV i have an other Grid
This inner grid is not accessable by FindControl

Every thing was working Fine before i added this extra div to hide inner Grid on some event

Any solution plz
?


Princy
Top achievements
Rank 2
 answered on 23 Nov 2009
3 answers
148 views
Hey I have used a radgrid and i have tried to export the data  to excel using the code below
but the thing happened after clicking the button is that it doesn't took me to any excel spread sheet but has changed the format of data like and excel sheet on the same page

what should i do to get the data into excel document here is the code 

protected

 

void Button5_Click(object sender, EventArgs e)

 

{

radgrid1.ExportSettings.ExportOnlyData =

true;

 

radgrid1.ExportSettings.IgnorePaging =

true;

 

radgrid1.MasterTableView.AllowFilteringByColumn =

false;

 

radgrid1.ExportSettings.OpenInNewWindow =

true;

 

radgrid1.MasterTableView.ExportToExcel();

 

}

Princy
Top achievements
Rank 2
 answered on 23 Nov 2009
2 answers
186 views
Hello every one

Dear friends i am having problem using the rad editor, when i run the project and in the rad editor i use the insert image icon to insert image, all the icons are working except delete icon. how to make it enable?
please submitt your post to enable the delete icon in the image manager of the rad editor

Thanking you
with best wishes
TanzeelurRehman Qureshi
Top achievements
Rank 1
 answered on 23 Nov 2009
1 answer
115 views
hi all
 i want to know how to do navigation in tree view using keyboard(up/down arrows).


thanks in advance
Shinu
Top achievements
Rank 2
 answered on 23 Nov 2009
1 answer
121 views
This may be something simple, but how do you remove the column headings bar in a RadGrid?

So there is no confusion I created an image to show which bar I mean, and its located here:

http://www.robsonforensic.com/images/gridbar.jpg

Thank You.

Coty
Shinu
Top achievements
Rank 2
 answered on 23 Nov 2009
4 answers
193 views
Hi all,

I'm having some problems getting the load on demand style of RadTabStrips working. When I hit the page the first tab loads as expected, but then when I click any of the other tabs I get the loading panel's animation and the following JavaScript error:

Error: $telerik.$ is not a function
Source File: http://localhost:54085/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a4552b812-caf7-4129-9b53-8f199b5bce6c%3a16e4e7cd%3af7645509%3aed16cbdc%3a24ee1bba%3ae330518b%3a1e771326%3a8e6f0d33%3a6a6d718d
Line: 2679

The TabClick event handler in my code behind never gets hit.

The aspx code is:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ContactTestingLod.aspx.vb" 
    Inherits="Eclipse3.ContactTestingLod" %> 
 
<%@ Register Src="ContactDetails.ascx" TagName="ContactDetails" TagPrefix="uc1" %> 
<%@ Register Src="ContactSupervisorDetails.ascx" TagName="ContactSupervisorDetails" 
    TagPrefix="uc2" %> 
<%@ Register Src="ContactUserDetails.ascx" TagName="ContactUserDetails" TagPrefix="uc3" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form runat="server" id="mainForm" method="post"> 
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> 
    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" /> 
    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" /> 
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="LoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="RadMultiPage1"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="LoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 
    <script type="text/javascript"> 
 
        function onTabSelecting(sender, args) { 
            if (args.get_tab().get_pageViewID()) { 
                args.get_tab().set_postBack(false); 
            } 
        } 
             
    </script> 
 
    <telerik:RadTabStrip OnClientTabSelecting="onTabSelecting" ID="RadTabStrip1" SelectedIndex="0" 
        runat="server" MultiPageID="RadMultiPage1" /> 
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" /> 
    </form> 
</body> 
</html> 

and the code behind is:

Imports Telerik.Web.UI 
 
Partial Public Class ContactTestingLod 
    Inherits System.Web.UI.Page 
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
        If Not Page.IsPostBack Then 
            AddTab("Contact Details", "ContactDetails") 
            AddPageView(RadTabStrip1.FindTabByValue("ContactDetails")) 
            AddTab("Supervisor Details", "ContactSupervisorDetails") 
            AddTab("User Details", "ContactUserDetails") 
        End If 
    End Sub 
 
    Private Sub AddTab(ByVal tabName As String, ByVal tabValue As String) 
        Dim tab As RadTab = New RadTab 
        tab.Text = tabName 
        tab.Value = tabValue 
        RadTabStrip1.Tabs.Add(tab) 
    End Sub 
 
    Private Sub AddPageView(ByVal tab As RadTab) 
        Dim pageView As RadPageView = New RadPageView 
        pageView.ID = tab.Value 
        RadMultiPage1.PageViews.Add(pageView) 
        tab.PageViewID = pageView.ID 
    End Sub 
 
    Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated 
        Dim userControlName As String = e.PageView.ID & ".ascx" 
        Dim userControl As Control = Page.LoadControl(userControlName) 
        userControl.ID = e.PageView.ID & "_userControl" 
        e.PageView.Controls.Add(userControl) 
    End Sub 
 
    Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs) Handles RadTabStrip1.TabClick 
        AddPageView(e.Tab) 
        e.Tab.PageView.Selected = True 
    End Sub 
 
End Class 

Any thoughts or pointers would be very much appreciated!



Brent
Top achievements
Rank 1
 answered on 23 Nov 2009
1 answer
405 views
I am having trouble saving a date from the date picker, and it seems that this is the line 
causes a syntax issue:

objCommand.Parameters.Add("@SermonDate", SqlDbType.DateTime).Value = RadDatePicker1.SelectedDate.Value
 
The database column type is DateTime (but I also tried just Date)

I have tried a few variations on this code but I still get the error message "syntax error' near 'SermonDate'" .
There always seem to be issues when it comes to saving a date in a database!

What am I doing wrong!

Thanks

Clive




Clive Hoggar
Top achievements
Rank 1
 answered on 22 Nov 2009
2 answers
437 views
Hi

Can you help me refine the action for the tooltip working on a grid item? 

I want the tooltip item to load and display on mouseover (which it does now).
However if the visitor clicks the item,  the browser transfers the visitor to the home page.   
The declaration is like this :
<ItemTemplate> 
<asp:HyperLink ID="targetControl" runat="server" NavigateUrl="#" Text='<%# Eval("Name") %>'>  
</asp:HyperLink> 
</ItemTemplate> 

How can I disable any click action? Or can I make the 'hand' show on mouseover without having a url at all?
It is inevitable that some people will click and get confused/lost...

Thanks

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 22 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?