Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
81 views
Hello guys.

I have a grid with one GridButtonColumn. If I use Buttontype="LinkButton" or "PushButton", it work's fine, but if I use Buttontype="ImageButton" I have the error showed in atach, when button is clicked.

It's a bug?

Regards.
Daniel
Telerik team
 answered on 06 May 2010
2 answers
107 views
hi

how can i active the edittemplate of this kind of data grid
      <telerik:RadGrid ID="grdValutazione" runat="server" GridLines="None" 
                                AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False" 
                                ShowStatusBar="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" 
                                AllowAutomaticUpdates="True"> 
                                <MasterTableView CommandItemDisplay="none" GridLines="None" 
                                    DataKeyNames="IDPAP,IDAPPEZZAMENTO,IDPARTICELLA" AllowFilteringByColumn="False" AllowSorting="True"> 
                                    <Columns> 
                                        <telerik:GridTemplateColumn> 
                                            <ItemTemplate> 
                                                <asp:label runat="server" ID="test" text='<%# bind("test") %>' /> 
                                            </ItemTemplate> 
                                            <EditTemplate> 
                                                <asp:textbox runat="server" ID="txt" text='<%# bind("test") %>' /> 
                                            </EditTemplate> 
                                        </telerik:GridTemplateColumn> 
                                    </Columns> 
                                </MasterTableView> 
                            </telerik:RadGrid>    
this is to give u an idea how will be the datagrid
i'd appreciate if u cn provide code and other stuffs bout this thing

thanks and regards
webster
Daniel
Telerik team
 answered on 06 May 2010
4 answers
150 views
After the calendar view has changed from day/week/month, what event/property will allow me to read the updated displayed date range (start date, end date) on the scheduler.
Tobe
Top achievements
Rank 1
 answered on 06 May 2010
3 answers
100 views

What am I missing here?  I have a Listbox and when the user clicks an Item I'm loading a grid and I'm trying to get the grid to show that loading indication.  I'm taking the example from this screen http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx

Instead of the Loading that I'm expecting to see the grid disappears for a second then reappears loaded.  Is there something else I need to do or set besides the Ajax Manager?

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadListBox_CatalogType">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="GridSearchResults" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> 
Scott Durrett
Top achievements
Rank 1
 answered on 06 May 2010
1 answer
100 views
hi all:
   I added dock dynamically to the three zones.I set up different skin for each Zone. After user log back in and reloaded the docks which  have been saved, the skin setting doesn't work.  how could I fix this issue?

what I need is that every dock in the same zone have the same color. I also wonder how could I set up each dock has it own title bar color?

Thanks
Helena


 

 <telerik:RadDockLayout runat="server" ID="RadDockLayout1"   
               EnableViewState="true">  
                 <table style="width:100%" border="0" > 
                 <tr > 
                  <td style="width:30%">  
                     <telerik:RadDockZone runat="server" ID="RadDockZone1" Height="100%"   
                       FitDocks="true" Width="100%" MinHeight="0" BorderWidth="0" Orientation="Vertical" Skin="Outlook">  
                         
                    </telerik:RadDockZone> 
                  </td> 
                  <td style="width:30%" > 
                       <telerik:RadDockZone runat="server" ID="RadDockZone2" Height="100%"   
                           Width="100%"    
                           Style="_height:100%;border-color:lightgray;float:  right; margin-right: 0px"   
                           Orientation="Vertical" FitDocks="true" Skin="WebBlue">  
                        </telerik:RadDockZone> 
                    </td> 
                   <td style="width:30%">  
                       <telerik:RadDockZone runat="server" ID="RadDockZone3" Height="100%"   
                           Width="100%"  Style="_height:100%;border-color:lightgray;float: right; margin-right: 0px"   
                           Orientation="Vertical" FitDocks="true" Skin="Vista">  
                       </telerik:RadDockZone> 
                   </td> 
                </tr> 
                </table>   
 
 
 
vb.net codes:  
 Private Sub CreateDefaultRadDock()  
        Dim index As Integer  
        Dim DockList As New ArrayList()  
        Dim intCount As Integer = 0 
        Dim intReminder As Integer  
        Dim dock As RadDock  
        If Not Me.chkWidgetList.Items Is Nothing Then  
            intCount = Me.chkWidgetList.Items.Count  
        End If  
 
        For index = 0 To intCount - 1  
            dock = CreateRadDock(chkWidgetList.Items(index).Text)  
            intReminder = index Mod 3  
            Select Case intReminder  
                Case 0  
                    RadDockZone1.Controls.Add(dock)  
                    dock.Skin = "Web20" 
 
                Case 1  
                    RadDockZone2.Controls.Add(dock)  
                    dock.Skin = "Vista" 
                Case 2  
                    RadDockZone3.Controls.Add(dock)  
                    dock.Skin = "Outlook" 
            End Select  
            Me.chkWidgetList.Items(index).Selected = True 
            'We want to save the dock state every time a dock is moved.         
            CreateSaveStateTrigger(dock)  
            'Load the selected widget         
            dock.Tag = WidgetFolder + "/" + chkWidgetList.Items(index).Value  
 
            LoadWidget(dock)  
        Next index  
 
        Me.btnAdd.Enabled = False 
        Me.btnReset.Enabled = False 
 
        'don't need to reload Dock   
        isNeedReload = False 
 
    End Sub  
         
Petio Petkov
Telerik team
 answered on 06 May 2010
0 answers
95 views
Good morning,
I need Progress Bar for entire page but not AjaxLoadingPanel.I do have AjaxLoadingPanel when I click on first radgrid and gives me a data on the second radgrid but I need again for entire page.The following code is include search button .I want click search button and progress bar is displayed and I also need progress bar when value is change in RadComboBox.CFNList is a user control and I have two RadComboBox in there.

 

 

<asp:Panel ID="Job_Report" runat="server" Width="805px">

 

<

 

fieldset>

 

<

 

legend>Search Bulk Job</legend>

 

 

<table>

 

 

<tr>

 

 

<td>

 

 

<uc1:CFNList id="CFNList1" runat="server">

 

 

</uc1:CFNList>

 

 

</td>

 

 

 

<td>

 

Job:

 

 

<br />

 

 

<telerik:RadTextBox ID="JobTextBox" runat="server" Width="100px" MaxLength="5"></telerik:RadTextBox>

 

 

 

</td>

 

 

<td>

 

Title:

 

 

<br />

 

 

<telerik:RadTextBox ID="TitleTextBox" runat="server" Width="100px" MaxLength="5"></telerik:RadTextBox>

 

 

</td>

 

 

 

<td>

 

 

 

 

<br />

 

 

<asp:Button ID="SearchJob" runat="server" Width="95px" Height="24px" CssClass="Button" Text="Search" OnClick="Search_Job_Click" OnClientClick="JavaScript: return ValidateData();" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td class="tbtxtbox" colspan="3" style="height:20px;">

 

 

<asp:Label ID="lblError" runat="server" Height="10px" Font-Size="Small" ForeColor="red" >

 

 

</asp:Label>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</fieldset>

 

 

</asp:Panel>

 

 
As always you are big help for me.Thanks so much.
Vasya Ivanov
Top achievements
Rank 1
 asked on 06 May 2010
0 answers
192 views

How to register a postback in a RadscriptManager, to preserve the value of a FileUpload that is contained in a RadAjaxLoadingPanel.

This in an example using ScripManager and UpdatePanel:

Protected Sub BtnSubirFoto_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnSubirFoto.PreRender

        Dim btn1 As Button = DirectCast(sender, Button)
        Dim rsm As RadScriptManager = DirectCast(MyMaster.FindControl("RadScriptManager1"), RadScriptManager)
        rsm.RegisterPostBackControl(btn1)

End Sub
Enrique Gonzalez
Top achievements
Rank 1
 asked on 06 May 2010
2 answers
105 views
Hi,

We have a three tiered hierarchy and we are utilizing the OwerTableView.Name property to determine which section we are working on within ItemDataBound (where we are changing colors, adding links, etc, depending on values).

In our top level table (dataset with 3 tables is returned via sql), we have a status flag - Cancel, Refund, etc.

In the DetailTables we need to turn on/off different options such as Editing, when the status of the top most table is 'Cancel'

So my question is this - is there a way to reference values in the MasterTableView, in ItemDataBound, when the current tableView is one of the detailtables?

Put another way, is it possible to traverse up the grid's data structure within ItemDataBound? Hopefully my question makes sense. Thanks.
Karl Wilkens
Top achievements
Rank 1
 answered on 06 May 2010
3 answers
129 views
Hi,

Any one can tell me. Is there any control like treeview in telerik where we can grids inside the treeview.


Plz Help me.
Nikolay Tsenkov
Telerik team
 answered on 06 May 2010
3 answers
114 views
Hello,

In RadComboBox component can we change its shape to become oval for example? .
Thanks
 
Yana
Telerik team
 answered on 06 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?