Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
178 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
114 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
183 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 ObjectByVal 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 StringByVal 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 ObjectByVal 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 ObjectByVal 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
388 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
420 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
2 answers
740 views
Hi

I have a grid exporting to excel working except that the headers for text columns do
not align left, althought the horizontal-align property is set left in the grid declaration.

I have the ExportOnlyData set to false
How can I align the column headings?

Thanks

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 22 Nov 2009
1 answer
93 views
Hi,
I am get the clicked rowIndex

    <script type="text/javascript">       
         function RowContextMenu(sender, eventArgs) {
                 var index = eventArgs.get_itemIndexHierarchical();
    }
    </script>

how to  get the clicked row All cell value ???
Mustafa Grape
Top achievements
Rank 1
 answered on 22 Nov 2009
2 answers
158 views
I have a question about using the RadControls in an ASP.NET MVC application in a cloud site.  Do you know if there are any issues I should think about?

I'm launching a new portal in December that uses a few of the controls like the RadEditor and I'm thinking about using the Rackspace Cloud and I just wanted to make sure there were no known issues before signing up with them.

Thanks,

KWilder
http://www.mvccentral.net
King Wilder
Top achievements
Rank 2
 answered on 22 Nov 2009
2 answers
105 views
Hi,

I am converting <telerik:AjaxLoadingPanel to <telerik:RadAjaxLoadingPanel in all of our DNN modules.
New  <telerik:RadAjaxLoadingPanel is fine.

But i am having a problem, i have few datgrids inside RadAjaxLoadingPanel.
Those grids are working fine except the delete confirmation button is not triggaring the DeleteCommand event,
 but it was working fine inside previous AjaxLoadingPanel.

I have used 2 methods, both were working well but now they are not working.

#1 methos
----------------------------------------------
markup
========
Here is my code inside RadAjaxLoadingPanel inside Datagrid

<asp:TemplateColumn>
<ItemTemplate>
<asp:Button id="btnAutoAddDelete" runat="server" Text="Delete" CommandName="Delete"
 OnClientClick="return confirm('Are you sure you want to delete this item?')"
UseSubmitBehavior="true"></asp:Button>
</ItemTemplate>
</asp:TemplateColumn>


#2 Method
--------------------------------------------
Here, onlclick is set by codebehind

codbehind
 ============
Private Sub DataGrid3_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles Datagrid3.ItemDataBound
            Dim btnAutoAddDelete As Button
            If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
                btnAutoAddDelete = CType(e.Item.Cells(0).FindControl("btnAutoAddDelete"), Button)
                btnAutoAddDelete.Attributes.Add("onclick", "return confirm_delete();")
            End If
 End Sub

markup
=======
Here is my code inside RadAjaxLoadingPanel inside Datagrid

<ItemTemplate>
<asp:Button id="btnAutoAddDelete" runat="server" Text="Delete"
CommandName="Delete" CausesValidation="false"></asp:Button>
</ItemTemplate>
</asp:TemplateColumn>


-------------------------------------------

I can not understand where is the problem!

Is there anyone to help me out?


Thanks for your time
--Mohsin



mohsin
Top achievements
Rank 1
 answered on 21 Nov 2009
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?