Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
182 views
I have a window that causes the content to expand and thus I need to either havethis window automatically increase in size or enable the scrollbars. I can't seem to get this working.

The case I am using is for .net validators... when validation fires, content is pushed below the bottom of the window.   
Georgi Tunev
Telerik team
 answered on 06 Oct 2009
2 answers
73 views
Dear Telerik and everyone,

Our solutions are using Telerik ASP.Net AJAX Controls, and we have just discovered a bug that: RadEditor doesn't work with Opera browser. RadEditor initializes enough toolbars, but, there's no input area until we click on full screen.

I think Telerik will fix this problem soon.

Best regard!
Lini
Telerik team
 answered on 06 Oct 2009
8 answers
271 views
this example looks interesting

http://demos.telerik.com/aspnet/prometheus/Editor/Examples/FileExplorer/FileSelectorDialog/DefaultCS.aspx

i am unable to get it to work - something on the click event of the explorer page.

the explorer dialog page comes up - but when i enter a function call in onclientitemclick - then my search patterns don't show my files, when i take it out - i see the files but i am unable to click a file and have it appear in the text box above.

please advise.
Fiko
Telerik team
 answered on 06 Oct 2009
3 answers
146 views
Hi Team,
I am using radDock component for displaying widgets. Curretly look of this component is coming as square. We would like to have widgets as rounded coorners. Similar to what iGoogle have.
Please reply how can I change the look or skin of the radDock control.

Thanks ,
Snehal
Martin
Telerik team
 answered on 06 Oct 2009
1 answer
138 views

Hi , I have a column type of  GridClientSelectColumn  , now how can access to checkbox in every row in this column , and how can checked,unchecked  them with client side way (in javascript function)

Shinu
Top achievements
Rank 2
 answered on 06 Oct 2009
1 answer
105 views
is posible to display an user control in popup mode when i click edit, and another when i click insert, or another when i click some command else???
Princy
Top achievements
Rank 2
 answered on 06 Oct 2009
3 answers
136 views
Hi,

I have a radgrid with a combobox field. I am following the example set out here:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/comboingrid/defaultcs.aspx?product=grid

I have changed this example to be driven off code behind. I am trying to also update the backend sql tables from the codebehind by using OnUpdateCommand="RadGridFieldMappings_UpdateCommand". The issue is that I dont know how to get the value to the selected combox item in the code behind to then update the sql tables.  Please help!

Main ASPX page / radgrid code here.
       <telerik:radgrid id="RadGridFieldMappings" runat="server" 
            AutoGenerateColumns= "False"  
            AllowSorting="True"  
            AllowPaging="True" 
            OnNeedDataSource="RadGridFieldMappings_NeedDataSource" 
            OnDataBound = "RadGridFieldMappings_DataBound" 
            OnUpdateCommand="RadGridFieldMappings_UpdateCommand" 
            AllowAutomaticUpdates="true" 
            PageSize="15" 
            GridLines="Both" 
            Height="300px" 
           > 
           <MasterTableView ShowFooter="false" DataKeyNames="ID" EditMode="InPlace"> 
               <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle> 
              <Columns> 
                  <telerik:GridNumericColumn DataField="ID" UniqueName="ID" HeaderText="ID" Visible="false" ReadOnly="True"/> 
                    
                  <telerik:GridBoundColumn UniqueName="ListID" HeaderText="ListID" DataField="ListID" Visible="false" ReadOnly="True"> 
                     <HeaderStyle Width="40px"></HeaderStyle> 
                    </telerik:GridBoundColumn> 
                                  
                    <telerik:GridBoundColumn UniqueName="ListName"  HeaderText="List Name" DataField="ListName" ReadOnly="True"> 
                    <HeaderStyle Width="155px"></HeaderStyle> 
                    </telerik:GridBoundColumn> 
                     
                    <telerik:GridBoundColumn UniqueName="FieldName" HeaderText="FieldName" DataField="FieldName" ReadOnly="True"> 
                     <HeaderStyle Width="120px"></HeaderStyle> 
                    </telerik:GridBoundColumn> 
                    
                     <telerik:GridTemplateColumn  
                        UniqueName="DestFieldName"  
                        HeaderText="Destination Field" 
                        SortExpression="DestFieldName" 
                        Visible="true"> 
                        <FooterStyle VerticalAlign="Middle" HorizontalAlign="Center" /> 
                        <HeaderStyle Width="230px"></HeaderStyle> 
                        <ItemTemplate> 
                            <%#DataBinder.Eval(Container.DataItem, "DestFieldName")%> 
                        </ItemTemplate> 
                        <EditItemTemplate> 
                            <telerik:RadComboBox  
                              DataTextField="DestFieldName" 
                              DataValueField="DestFieldName" 
                              EnableLoadOnDemand="True" 
                              ID="RadComboBox1" 
                              runat="server" 
                              Height="140px" 
                              Width="220px" 
                                
                              DataSourceID="DestinationFields"> 
                            </telerik:RadComboBox> 
                        </EditItemTemplate> 
                    </telerik:GridTemplateColumn> 
                     
                    <telerik:GridEditCommandColumn FooterText="EditCommand footer" UniqueName="EditCommandColumn" 
                        HeaderText="Edit" HeaderStyle-Width="100px"> 
                    </telerik:GridEditCommandColumn> 
                     
              </Columns> 
           </MasterTableView> 
           <PagerStyle Mode="NumericPages"></PagerStyle> 
        </telerik:radgrid> 
         
         
        <asp:SqlDataSource ID="DestinationFields" runat="server" ConnectionString="<%$ ConnectionStrings:iBase_DM %>" 
            ProviderName="System.Data.SqlClient"  
             SelectCommand="SELECT FieldName as DestFieldName FROM DMProfileFieldMap WITH(NOLOCK)" > 
        </asp:SqlDataSource> 

Code Behind.

    Protected Sub RadGridFieldMappings_NeedDataSource(ByVal [source] As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGridFieldMappings.NeedDataSource 
        GetUserDetails() 
        Try 
            Me.RadGridFieldMappings.ClientSettings.Scrolling.AllowScroll = True 
            Me.RadGridFieldMappings.ClientSettings.Scrolling.UseStaticHeaders = True 
            Me.RadGridFieldMappings.ShowHeader = True 
            Me.RadGridFieldMappings.ShowFooter = True 
            Me.RadGridFieldMappings.ClientSettings.Resizing.AllowColumnResize = True 
            Me.RadGridFieldMappings.ClientSettings.Resizing.AllowRowResize = False 
            Me.RadGridFieldMappings.ClientSettings.Resizing.EnableRealTimeResize = True 
            Me.RadGridFieldMappings.ClientSettings.Resizing.ResizeGridOnColumnResize = True 
            Me.RadGridFieldMappings.ClientSettings.Resizing.ClipCellContentOnResize = True 
            Me.RadGridFieldMappings.ClientSettings.AllowColumnsReorder = True 
            Me.RadGridFieldMappings.ClientSettings.ReorderColumnsOnClient = True 
 
            strSQL = "SELECT" & vbCrLf 
            strSQL += " l.ListName," & vbCrLf 
            strSQL += " l.ListID," & vbCrLf 
            strSQL += " lf.ID, " & vbCrLf 
            strSQL += " lf.EmailAddrField, " & vbCrLf 
            strSQL += " lf.FieldName, mdfm.DestFieldName" & vbCrLf 
            strSQL += "FROM " & vbCrLf 
            strSQL += " AppControl.Messages m WITH(NOLOCK) INNER JOIN " & vbCrLf 
            strSQL += " AppControl.MessageLists ml WITH(NOLOCK)" & vbCrLf 
            strSQL += "     ON m.TaskID = ml.TaskID INNER JOIN " & vbCrLf 
            strSQL += " AppControl.Lists l WITH(NOLOCK)" & vbCrLf 
            strSQL += "     ON ml.ListID = l.ListID INNER JOIN " & vbCrLf 
            strSQL += " AppControl.ListFields lf WITH(NOLOCK)" & vbCrLf 
            strSQL += "     ON l.ListID = lf.ListID LEFT JOIN" & vbCrLf 
            strSQL += " AppControl.MessageDeployFieldMappings mdfm WITH(NOLOCK)" & vbCrLf 
            strSQL += "     ON m.TaskId = mdfm.TaskID " & vbCrLf 
            strSQL += "     AND lf.ID = mdfm.ListFieldID " & vbCrLf 
            strSQL += "WHERE" & vbCrLf 
            strSQL += " m.TaskID = " & TaskID & " " & vbCrLf 
            strSQL += " AND ml.IncludeList = 1" & vbCrLf 
            strSQL += " AND LoadIntoDMList = 1" & vbCrLf 
            strSQL += " AND EmailAddrField <> 1" & vbCrLf 
            If iTargetLists = 1 Then 
                RadGridFieldMappings.DataSource = ReadRecordsTargetLists(strSQL) 
                iTargetLists += 1 
            Else 
                Exit Sub 
            End If 
        Catch ex As Exception 
            Response.Redirect("ErrorPage.aspx?ErrorPage=" & Server.UrlEncode(ThisPage) & "&Exception=" & Server.UrlEncode(ex.Message)) 
        End Try 
    End Sub 
 
    Protected Sub RadGridFieldMappings_UpdateCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) 
        '?????????????????????????? 
    End Sub 

Im stumped on the following part. 
    Protected Sub RadGridFieldMappings_UpdateCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) 
        '?????????????????????????? 
    End Sub 

Any help would be much appreciated.

thanks

Princy
Top achievements
Rank 2
 answered on 06 Oct 2009
3 answers
444 views
Hi there
i have a radgrid with Gridbuttoncolumn, i would like to execute a javascript code to check if i can delete this record. Is there a way to call a javascrip funtion first then execute the Delete comand 
 

<

 

telerik:GridButtonColumn ConfirmText="Delete this?" ConfirmDialogType="Classic" ConfirmTitle="Delete" ButtonType="ImageButton"

 

 

CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"

Thanks
Tony

 

Princy
Top achievements
Rank 2
 answered on 06 Oct 2009
15 answers
239 views
Dear Sir,

I am using load-on-demand ( web service )...
is it possible to return null object in server-side and client-side doesn't throw a javascript error?


Akber Ali
Top achievements
Rank 1
 answered on 06 Oct 2009
2 answers
173 views
Hi,

I have a CheckBoxList inside FormTemplate (MasterTableViewEditForm) of a RadGrid.
I cannot find it using something like

RadGrid1.FindControl("controlID");

Any help is greatly appreciated.

han
Matt Johnston
Top achievements
Rank 1
 answered on 05 Oct 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?