Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
206 views
Is there any way to add event to the griddropdownlistcolumneditor?
I'm implementing the double click edit feature on to the grid.
Instead of using buttons or other row clicks, I would like to use this event to trigger the update of the row.
Can someone show me the direction to achieve this?

Thanks.

AereoN
Top achievements
Rank 1
 answered on 15 Dec 2009
1 answer
85 views
Hi everyone,

I got a problem having the asp.net button work in the RadWindow control. It seems did not trigger the server side click event. Here is the code below:                
                 <telerik:RadWindow ID="radWindow1" runat="server" Behavior="Move,Close,Reload">
                        <ContentTemplate>
                            <p>
                                hello</p>
                            <br />
                            <b>world</b>
                            <asp:Button ID="btn_Popup" runat="server" Text="Load Popup" OnClick="btn_Popup_Click"/>
                        </ContentTemplate>
                    </telerik:RadWindow>

Thanks,

Bruce
Shinu
Top achievements
Rank 2
 answered on 15 Dec 2009
1 answer
413 views

I have a GridButtonColumn, ConfirmDialogType is RadWindow but when I press delete button it show Classic Window

<telerik:GridButtonColumn ConfirmText="Sei sicuro di voler cancellare?"   
                          ConfirmDialogType="RadWindow" 
                          ConfirmTitle="Delete"   
                          ButtonType="ImageButton"   
                          CommandName="Delete"   
                          Text="Delete" 
                          UniqueName="DeleteColumn" 
                          Reorderable="false" 
                          Resizable="false"    
                          HeaderStyle-Width="25">  
</telerik:GridButtonColumn> 


where do I wrong?

Thanks

Princy
Top achievements
Rank 2
 answered on 15 Dec 2009
1 answer
67 views
Hi, I am going to design a enterprise level web application. The application is about project management(Time, Resource, Document, Cost Management). I purchased Telerik but I don't know much about this. 
- How could I organize frames looking good and to be confortable and effective? I'd like to leave the consistent area not to be refreshed just main area like grid controls to be refreshed everytime data comes from the server.
- How could I obtain the security? I hope the minimal disclosure of source code on the HTML

If there is a sample or example template to refer to, please advise me. This project is  really important to the company I belong to, So please provide me your good experience to make the project with Telerik success story....
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 15 Dec 2009
2 answers
52 views
Hi,

Can you tell me the way config for invisible Table Wizard, Set cell properties and set table properties on Insert Table.
Present I don't want to show them when user click "Insert Table" icon on RadEditor.

Please help me.

Thanks
 
hai pham
Top achievements
Rank 1
 answered on 15 Dec 2009
4 answers
309 views
Hi,

I am trying out the AjaxLoadPanel for the first time. I want a wait msg to appear after I click my search image-button while my Radgrid is loading. This works the first time I search after loading the page, but not the second time. I am sure I am making a beginner mistake somewhere.

btw. If I create another AjaxSetting with my ImgButton as trigger and my Radgrid as updatecontrol then I get a error complaining that my control contains code blocks. This happens even if I wrap it with an asp:panel, and yes I have to script in my header.

Hope someone can help me out here :-)

Axel

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"   
    DefaultLoadingPanelID="RadAjaxLoadingPanel1">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="UserControlContainer">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="UserControlContainer" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
</telerik:RadAjaxManager> 
 
 <asp:Panel id="UserControlContainer" class="UserControlContainer pealHeader" DefaultButton="btnSearch" runat="server">  
 <li class="full">  
        <asp:TextBox ID="tbSearch" runat="server" TabIndex="1" ></asp:TextBox> 
        <asp:ImageButton ID="btnSearch" runat="server" 
             Enabled="true" onclick="btnSearch_Click" TabIndex="3" ImageUrl="~/images/icons/lookingglass.png" /> 
 </li> 
 <div> 
   <telerik:RadGrid ID="RadGrid1" runat="server" EnableAJAX="true" EnableAjaxSkinRendering="true">  
 
     . . .  
 
   </telerik:RadGrid> 
 </div> 
 
 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" EnableSkinTransparency="true" BackgroundPosition="Center" runat="server">  
 </telerik:RadAjaxLoadingPanel> 
 
      
</asp:Panel> 
 
 
 
... serverside ......  
 
        protected void LoadData()  
        {  
            PartyDataContext pdc = new PartyDataContext();  
            var prty = pdc.IndividualsGetComplex(tbSearch.Text.ToUpper()).ToList();  
 
            RadGrid1.DataSourceID = "";  
            RadGrid1.DataSource = prty;  
        }  
 
        protected void btnSearch_Click(object sender, ImageClickEventArgs e)  
        {  
            LoadData();  
            RadGrid1.Rebind();              
        } 
Axel
Top achievements
Rank 2
 answered on 14 Dec 2009
1 answer
135 views
Hi,
I have 3 tabs in my aspx page and assigned 2 Pageview for each tab. if i click the tab it working properly. I have button inside first Pageview to select the next tab. if i click that button the next tab shd be enabled. but its not working. The second tab is selected but still the content inside is the first Pageview

<

 

Tabs>

 

 

<telerik:RadTab CssClass="divtabstrip" Text="Child Details" PerTabScrolling="true" PageViewID="PageviewParent"

 

 

Value="Parent" TabIndex="0" runat="server" />

 

 

<telerik:RadTab CssClass="divtabstrip" TabIndex="1" PerTabScrolling="true" Text="Emergency Contact and Other Details"

 

 

PageViewID="Page1" Value="Emergency" runat="server" />

 

 

<telerik:RadTab CssClass="divtabstrip" TabIndex="2" PerTabScrolling="true" Text="Medical Info" PageViewID="Page2"

 

 

Value="Medical" runat="server" />

 

 

</Tabs>

 


 

<telerik:RadMultiPage EnableOutsideScripts="true" ID="radMultiPage" SelectedIndex="0"

 

 

runat="server">

 

 

<telerik:RadPageView ID="Page1" TabIndex="0" runat="server">

 

 

</telerik:RadPageView>

 

<telerik:RadPageView ID="Page2" TabIndex="0" runat="server">

 

 

</telerik:RadPageView>

 


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

 

protected void NextTab(object sender, EventArgs e)

 

{


radTab.SelectedIndex = 1;
}

Thanks,
Jeevitha

Schlurk
Top achievements
Rank 2
 answered on 14 Dec 2009
1 answer
157 views
Is there anyway to get a dual listbox configuration to remember where list items are when the user uses the browser back button?

In the use case where you're using a dual list box say, for picking output columns on a search - it can get pretty frustrating for the user to click back and find that both the columns he selected and the order of said columns have been lost.

When I wrote my own dual list box javascript component (before Telerik came out with theirs), I wrote an entry every time a field moved into a hidden field. I had a method on the body load that read the hidden field and repositioned the items whenever the page was loaded, except for the first time. Since hidden fields will stay put on a postback, this is a reliable way of pulling back a users selections and order when the back button is pressed.

Does anyone else feel me on this?

Andrew
Schlurk
Top achievements
Rank 2
 answered on 14 Dec 2009
2 answers
227 views


Hello everyone,
I found an interesting easy working example for RadDock but teh problem that I'm facing that its in vb, and the application is c#
can anyone help me to convert it [ Please note that the online converters couldn't convert it specially the bold + underlined lines ]

Imports System 
Imports System.Data 
Imports System.Configuration 
Imports System.Collections 
Imports System.Web 
Imports System.Web.Security 
Imports System.Web.UI 
Imports System.Web.UI.WebControls 
Imports System.Web.UI.WebControls.WebParts 
Imports System.Web.UI.HtmlControls 
Imports System.Data.SqlClient 
Imports Telerik.Web.UI 
Imports System.Collections.Generic 
Imports System.Text 
Imports System.Web.Script.Serialization 
 
Partial Public Class DefaultVB 
    Inherits System.Web.UI.Page 
    Private _conn As New SqlConnection(ConfigurationManager.ConnectionStrings("DockConnectionString").ConnectionString) 
    Private _count As Integer = 0 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) 
 
    End Sub 
    Protected Sub RadDockLayout1_LoadDockLayout(ByVal sender As Object, ByVal e As Telerik.Web.UI.DockLayoutEventArgs) 
        
        Dim dock As RadDock = Nothing 
        Dim serializer As New JavaScriptSerializer() 
        Dim converters As New List(Of JavaScriptConverter)() 
        converters.Add(New UnitConverter()) 
        serializer.RegisterConverters(converters) 
 
        'Get saved state string from the database - set it to dockState variable for example  
        Dim dockState As String = "" 
        Try 
 
            _conn.Open() 
            Dim command As New SqlCommand("select State from States where id=1", _conn) 
            dockState = command.ExecuteScalar().ToString() 
            _conn.Close() 
        Catch 
        End Try 
 
        Dim currentDockStates As String() = dockState.Split("|"c) 
        For Each stringState As String In currentDockStates 
            If stringState.Trim() <> String.Empty Then 
                Dim state As DockState = serializer.Deserialize(Of DockState)(stringState) 
                e.Positions(state.UniqueName) = state.DockZoneID 
                e.Indices(state.UniqueName) = state.Index 
                dock = DirectCast(RadDockLayout1.FindControl(state.UniqueName), RadDock) 
                dock.ApplyState(state) 
            End If 
        Next 
 
    End Sub 
 
    Protected Sub RadDockLayout1_SaveDockLayout(ByVal sender As Object, ByVal e As Telerik.Web.UI.DockLayoutEventArgs) 
        Dim dockState As String 
        Dim serializer As New JavaScriptSerializer() 
        Dim converters As New List(Of JavaScriptConverter)() 
        converters.Add(New UnitConverter()) 
        serializer.RegisterConverters(converters) 
 
        Dim stateList As List(Of DockState) = RadDockLayout1.GetRegisteredDocksState() 
        Dim serializedList As New StringBuilder() 
        Dim i As Integer = 0 
 
        While i < stateList.Count 
            serializedList.Append(serializer.Serialize(stateList(i))) 
            serializedList.Append("|") 
            System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1) 
        End While 
 
        dockState = serializedList.ToString() 
        If dockState.Trim() <> [String].Empty Then 
            Try 
                _conn.Open() 
                Dim command As New SqlCommand([String].Format("update States set State='{0}' where id=1", dockState), _conn) 
                command.ExecuteNonQuery() 
                _conn.Close() 
            Catch 
            End Try 
        End If 
    End Sub 
End Class 


Thank you in advance
Tom
Top achievements
Rank 1
 answered on 14 Dec 2009
4 answers
223 views
2009 Q3 Release of the controls

Since we updated to Q3, there is no X shown if Manual Close and shown from code, and regardless of having the manualclose set to true, the AutoHideDelay is not ignored, (the tooltip autohides after the specified time) the only way I could get the tooltip to remain visible was to set the AutoHideDelay to 0, then at least the tooltip stayed visible.  This does not involve any postbacks on the tooltip or anything, click a control, tooltip shown from code, and then after the autohidelay time elapse it's hidden.

This was not an issue until we recently upgraded to Q3.
Roger Barnes
Top achievements
Rank 1
 answered on 14 Dec 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?