Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
296 views

I am fairly new to telerik controls. I have a RadGrid where I need to Edit the data. I did the same thing as in the demo in 
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

I want to use the form edit. When I click on the Edit image on my grid nothing happens. Below is my Radgrid code. I am sure I am missing something. Please let me know.

Thanks in advance.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="Center"
                                LoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True">
                                <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
                                    CellPadding="1" Font-Strikeout="False" GridLines="None" GroupingEnabled="False"
                                    Width="100%" AllowAutomaticUpdates="True">
                                    <HeaderContextMenu EnableTheming="True">
                                        <CollapseAnimation Duration="200" Type="OutQuint" />
                                    </HeaderContextMenu>
                                    <AlternatingItemStyle Font-Size="X-Small" />
                                    <ItemStyle Font-Size="X-Small" />
                                    <MasterTableView CellSpacing="-1" ClientDataKeyNames="Origrec" DataKeyNames="ContactId"
                                        ShowFooter="true">
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="ContactType" HeaderText="Contact Type" UniqueName="columnContactType" ColumnEditorID="GridEditTxtContacttype">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="ContactName" HeaderText="Name" UniqueName="columnContactName" ColumnEditorID="GridEditTxtName">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" UniqueName="columnPhone" ColumnEditorID="GridEditTxtPhone">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="columnFax" ColumnEditorID="GridEditTxtFax">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="columnEmail" ColumnEditorID="GridEditTxtEmail">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Department" HeaderText="Department" UniqueName="columnDepartment" ColumnEditorID="GridEditTxtDepartment">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                                            </telerik:GridEditCommandColumn>
                                        </Columns>
                                        <EditFormSettings ColumnNumber="2" CaptionDataField="ContactName" CaptionFormatString="Edit {0}">
                                            <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                                            <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
                                                Width="100%" />
                                            <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" />
                                            <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"
                                                UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                                            </EditColumn>
                                        </EditFormSettings>
                                    </MasterTableView>
                                </telerik:RadGrid>
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtContacttype" runat="server" TextBoxStyle-Width="200px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtName" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtPhone" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtFax" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtEmail" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtDepartment" runat="server" TextBoxStyle-Width="150px" />
                            </telerik:RadAjaxPanel>
                            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Vista"
                                Direction="LeftToRight" HorizontalAlign="Center" IsSticky="True">
                            </telerik:RadAjaxLoadingPanel>
cute gal
Top achievements
Rank 1
 answered on 26 Mar 2010
1 answer
272 views
I have four combo boxes tied together

    <div style="width:985px; padding:10px;"
        <telerik:RadComboBox EnableVirtualScrolling="false" OpenDropDownOnLoad="false" Width="250px" Label="Report Options" ID="RadComboBox1" runat="server" OnClientSelectedIndexChanging="LoadLanCodes" OnClientDropDownOpening="ClearBoxes"
            <Items> 
                <telerik:RadComboBoxItem runat="server" Selected="True" value="" Text="Any" /> 
                <telerik:RadComboBoxItem runat="server" Text="Lan Code" Value="lancode" /> 
                <telerik:RadComboBoxItem runat="server" Text="Support Team" Value="supportteam" /> 
            </Items> 
        </telerik:RadComboBox> 
        <telerik:RadComboBox Width="250px"  EnableVirtualScrolling="false" OpenDropDownOnLoad="false" OnClientItemsRequested="ItemsLoaded" ID="RadComboBox2" runat="server" OnClientSelectedIndexChanging="LoadStates"
        </telerik:RadComboBox> 
        <p> 
        </p> 
        <telerik:RadComboBox Label="State" OpenDropDownOnLoad="false"  EnableVirtualScrolling="false" Width="250px" OnClientItemsRequested="ItemsLoaded" ID="RadComboBox3" runat="server" OnClientSelectedIndexChanging="LoadCities"
        </telerik:RadComboBox> 
        <telerik:RadComboBox Label="City" OpenDropDownOnLoad="false" Width="250px"  EnableVirtualScrolling="false" OnClientItemsRequested="ItemsLoaded" ID="RadComboBox4" runat="server"
        </telerik:RadComboBox> 
    </div> 

When I select a value in the first one once the data loads the drop down expand automatically
When i choose a value for the second combo box the third open on load

I was hoping that  OpenDropDownOnLoad="false" would stop this behavior but it doesn't...

How do I stop it?



Veronica
Telerik team
 answered on 26 Mar 2010
2 answers
207 views
Hi,

I have problem with setting HideDealy on tooltip when is Modal switch set to true. It takes about 2sec when modal toolTip desapears, even when HideDelay is set to 0. Without modal seted to tru its working prefectly.

And another issue, when I add CssClass="radToolTip" to telerik:RadToolTip and then i have got in my stylesheet: 

.radToolTip 
    padding:15px
    color:red

it doesnt work too. What I am doing wrong when Im styling radToolTip? 

Thanks, for any help! 
Jan
Top achievements
Rank 1
 answered on 26 Mar 2010
1 answer
305 views
Hi. I am getting the following error when trying to run my asp.net application.

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) (C:\Projects\Life\Life.Web.UI\web.config line 87)

Line 85: 		<httpModules>
Line 86: 			<clear/>
Line 87: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>Line 88: 			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 89: 		</httpModules>

The application was working fine yesterday. I didn't mess around with any of the project references, nor did I edit the web.config file. Does anyone know how to fix this error?
Princy
Top achievements
Rank 2
 answered on 26 Mar 2010
1 answer
121 views
Hi all.
I have a combobox populated using webservice with LoadOnDemand. My question is how can I select one specific element in combobox when it is populated?
And my second question. The combobox is populated only when I click on the drop down array icon. I would like to populate it when the page is load (or the control is load).How can I do that?
Kalina
Telerik team
 answered on 26 Mar 2010
1 answer
146 views
Hi,
  Is there a way to align the Remove button?
  Currently the alignment of the Remove button depends on the length of the filename.
  Is it possible that the Remove button is all vertically aligned correctly? (like the Upload Success icon - all are aligned vertically straight).

  I'm playing around with ruFileWrap ruStyled, ruUploadProgress ruUploadSuccess and ruButton ruRemove, but could not get the desired effect.

  Please help.

Many Thanks,
Henry Wu
Henry
Top achievements
Rank 1
 answered on 26 Mar 2010
1 answer
90 views
I have a  page with a file exploere
and this page will be Arabic version
so I have to change the direction to Right
The problem now about the splitter

the splitter is doing the reverse action , closing the grid and open the tree view
Dobromir
Telerik team
 answered on 26 Mar 2010
3 answers
151 views
Hi,

I had a page called (http://jessie.domain.com/MyPage).

Inside this page, I had a link A to click, after click this link A, it will pop up a page with RadWindow called (Details.aspx).
Inside this Details.aspx, there have a Cancel button. When I click this cancel button, it will hits the error (Access is denied).

<script type="text/javascript"
        function GetRadWindow() { 
            var oWindow = null
 
            if (window.radWindow) { 
                oWindow = window.radWindow; 
            } 
            else if (window.frameElement.radWindow) { 
                oWindow = window.frameElement.radWindow; 
            } 
            return oWindow; 
        } 
 
        function RefreshParentPage() { 
            GetRadWindow().Close(); 
            GetRadWindow().BrowserWindow.location.href = GetRadWindow().BrowserWindow.location.href; 
        }  
</script>



<button ID="btnCancel" runat="server" class="black_button"   
                                style="width:70px; font-size: 11px;" onclick="RefreshParentPage();return false;">Cancel</button> 


May I know how to solve this problem? Thanks.




Georgi Tunev
Telerik team
 answered on 26 Mar 2010
3 answers
148 views
I am using the RadCombobox with the Load On Demand functionality.  I have JS code that selects all the text in the combobox when a user clicks on it (This should be a feature of the combobox I think).  This works once the combobox has had the data loaded into it but not the first time when the LOD is called.  Right now I have it linked to the OnClientFocus event.  I have tried linking the same code to the OnClientItemsRequested event but it doesn't work.  Any thoughts?  Below is my JS code.

function OnClientFocus(sender) {
var combo = document.getElementById(sender._uniqueId);
combo.select();

Veselin Vasilev
Telerik team
 answered on 26 Mar 2010
3 answers
88 views
Hello Friends,

 
I maintain the pagging from the code behind..., When i will follow the below step that time pagging will be not displayed on radgrid.
Step 1: Click on Export to PDF than pdf file will be generated.
Step 2: Filter any record that time filteration is working fine  but at a time pagging are not displayed.

If i will follow the same step for Export to Excel than pagging are displayed and working fine.

i used below code for export to pdf.

                        grdUsers.ExportSettings.ExportOnlyData = True
                        grdUsers.ExportSettings.OpenInNewWindow = True
                        grdUsers.ExportSettings.IgnorePaging = True
                        grdUsers.Rebind()
                        grdUsers.MasterTableView.ExportToPdf()
                        grdUsers.MasterTableView.AllowFilteringByColumn = True


Please help me

Thanks & Regards
Jignesh Patel

Pavlina
Telerik team
 answered on 26 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?