Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
182 views
Hi

I wanted to remove some of the items from the Link Manager dialog and followed this Post Click Here.

Achieved most of what I wanted, except the issue with the window height. When I remove couple of items within the LinkManager, it leaves some space at the bottom and the complete window does not re-size to fit properly. Take a look at the attached file. I have tried firebug and pointed out the height that I would like to change, but not sure how to change them.

Any help would be greatly appreciated.

thank you...
Vijay.
Vijay
Top achievements
Rank 1
 answered on 15 Jan 2010
0 answers
271 views
Hi;

I have a radgrid with detail table added to it.  I have the CommandItemDisplay="Top" set for the detail table.  During run time, when I click on the add new record button, then the insert item template becomes visible.  Here, I only see the Cancel button but not the Insert button.  I have attached a screen shot of the missing insert button in my grid.  Here is my radgrid setup in the aspx page. 

Your help is really appreciated.

Thanks in advance,
MS

<

 

div style="padding-top:10px;">

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="viewGrid">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="viewGrid" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadGrid ID="viewGrid" runat="server" ActiveItemStyle-BorderColor="ActiveBorder"

 

 

ShowStatusBar="True" AllowSorting="true" ItemStyle-BorderWidth="1px" OnSortCommand="viewGrid_Sort"

 

 

MasterTableView-ExpandCollapseColumn-CollapseImageUrl="~/App_Themes/Images/Content/collapse.gif"

 

 

MasterTableView-ExpandCollapseColumn-ButtonType="ImageButton" OnUpdateCommand="viewGrid_UpdateCommand"

 

 

MasterTableView-ExpandCollapseColumn-ExpandImageUrl="~/App_Themes/Images/Content/expand.gif"

 

 

MasterTableView-ExpandCollapseColumn-ItemStyle-HorizontalAlign="Center" OnItemCreated="viewGrid_ItemCreated"

 

 

MasterTableView-ExpandCollapseColumn-ItemStyle-VerticalAlign="Middle" OnItemDataBound="viewGrid_DataBound"

 

 

MasterTableView-ExpandCollapseColumn-ItemStyle-Width="2%" OnDetailTableDataBind="viewGrid_DetailTableDataBind"

 

 

OnNeedDataSource="viewGrid_NeedDataSource" OnPreRender="viewGrid_PreRender" AllowAutomaticUpdates="true"

 

 

OnInsertCommand="viewGrid_InsertCommand" AllowAutomaticInserts="true">

 

 

<MasterTableView AutoGenerateColumns="False" HierarchyLoadMode="ServerBind"

 

 

DataKeyNames="DomainName,ParentDomainValue" EditMode="InPlace" Name="Master" >

 

 

<DetailTables>

 

 

<telerik:GridTableView DataKeyNames="DomainName,ParentDomainName,ParentDomainValue" Name="DomainLabel"

 

 

AutoGenerateColumns="false" EditMode="InPlace" ItemStyle-BorderWidth="0px" AllowSorting="false"

 

 

ShowHeader="false" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"

 

 

CommandItemDisplay="Top">

 

 

<ParentTableRelation>

 

 

<telerik:GridRelationFields DetailKeyField="DomainName" MasterKeyField="DomainName" />

 

 

</ParentTableRelation>

 

 

<CommandItemSettings RefreshText="Save Record" AddNewRecordText="Add a Domain Value" />

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn UniqueName="DomainValue" DataType="System.String"

 

 

DataField="DomainValue" ColumnEditorID="GridTextBoxColumnEditor1">

 

 

<ItemStyle Width="10%" HorizontalAlign="Left" Wrap="false" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridCheckBoxColumn DataField="ActiveFlag" UniqueName="ActiveFlag"

 

 

DataType="System.Boolean" >

 

 

</telerik:GridCheckBoxColumn>

 

 

<telerik:GridCheckBoxColumn DataField="EditableFlag" UniqueName="EditFlag"

 

 

DataType="System.Boolean" Visible="false" >

 

 

</telerik:GridCheckBoxColumn>

 

 

<telerik:GridBoundColumn DataField="ParentDomainName" UniqueName="ParentDomainName"

 

 

DataType="System.String" Visible="false" >

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="ParentDomainValue" UniqueName="ParentDomainValue"

 

 

DataType="System.String" Visible="false" >

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridEditCommandColumn ButtonType="PushButton" EditText="Edit Domain Value" UpdateText="Update"

 

 

CancelText="Cancel" UniqueName="EditCommandColumn1">

 

 

<HeaderStyle Width="20px" />

 

 

</telerik:GridEditCommandColumn>

 

 

 

</Columns>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

 

 

<Columns>

 

 

<telerik:GridBoundColumn UniqueName="DomainName" DataType="System.String" HeaderText="<%$ Resources:DomainAdmin, locDomainName %>"

 

 

DataField="DomainName" SortExpression="DomainName">

 

 

<HeaderStyle HorizontalAlign="Left" Width="10%" />

 

 

<ItemStyle Width="10%" HorizontalAlign="Left" Wrap="true" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn UniqueName="ParentDomainName" DataType="System.String"

 

 

HeaderText="<%$ Resources:DomainAdmin, locParentDomainName %>" DataField="ParentDomainName"

 

 

SortExpression="ParentDomainName">

 

 

<HeaderStyle HorizontalAlign="Left" Width="10%" />

 

 

<ItemStyle Width="10%" HorizontalAlign="Left" Wrap="true" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn UniqueName="ParentDomainValue" DataType="System.String" HeaderText="<%$ Resources:DomainAdmin, locParentDomainValue %>"

 

 

DataField="ParentDomainValue" SortExpression="ParentDomainValue">

 

 

<HeaderStyle HorizontalAlign="Left" Width="10%" />

 

 

<ItemStyle Width="10%" HorizontalAlign="Left" Wrap="true" />

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

<AlternatingItemStyle Wrap="false"/>

 

 

<ItemStyle Wrap="false"/>

 

 

<RowIndicatorColumn Visible="False">

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn ButtonType="ImageButton">

 

 

</ExpandCollapseColumn>

 

 

<EditFormSettings>

 

 

<PopUpSettings ScrollBars="None" />

 

 

</EditFormSettings>

 

 

 

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

 

 

</div>

 


m chotu
Top achievements
Rank 1
 asked on 15 Jan 2010
0 answers
95 views
This is probably not a Telerik problem, but I am hoping that someone in here can help me with this.  I am using the RadPanelBar as a wizard for creating and managing users.  When a user selects to create a new user, I need to clear out all all the controls' values in each of the panels.  So I wrote a recursive function to do it.  It works, but for some reason I lose object references to some things totally unrelated to the controls I have just recursed through.  I also lose the linked events that worked before I ran this function.  Attached is my code that I run.

    Private Sub ClearAllFields(Optional ByRef ParentControl As Control = Nothing)  
        If ParentControl Is Nothing Then 
            For Each oPanel As RadPanelItem In rpbAccountAdmin.Items  
                ClearAllFields(oPanel.Items(0))  
            Next 
        Else 
            For Each oControl As Control In ParentControl.Controls  
                If oControl.HasControls Then 
                    ClearAllFields(oControl)  
                End If 
                If TypeOf (oControl) Is RadTextBox Then 
                    CType(oControl, RadTextBox).Text = "" 
                ElseIf TypeOf (oControl) Is RadComboBox Then 
                    CType(oControl, RadComboBox).SelectedIndex = -1  
                ElseIf TypeOf (oControl) Is TextBox Then 
                    CType(oControl, TextBox).Text = "" 
                ElseIf TypeOf (oControl) Is DropDownList Then 
                    CType(oControl, DropDownList).SelectedIndex = -1  
                ElseIf TypeOf (oControl) Is CheckBox Then 
                    Dim oCheckBox As CheckBox = CType(oControl, CheckBox)  
                    Select Case oCheckBox.ID  
                        Case "chkShowImages" 
                            oCheckBox.Checked = True 
                        Case Else 
                            oCheckBox.Checked = False 
                    End Select 
                End If 
            Next 
        End If 
    End Sub 
Seth
Top achievements
Rank 1
 asked on 15 Jan 2010
6 answers
287 views
Hi,

We have page where top section is coming from the usercontrol and bottom section have RadSplitter with the left and right pane.
Left pane have panelbar control and Right page should display content pages.

To achieve resize with the browser window and 100% width and height feature, we have followed below demo:
http://demos.telerik.com/aspnet-ajax/splitter/examples/resizewithwindow/defaultcs.aspx.

As per specifications, we have html, body, form and all parent elements to splitter set as style="height:100%".We have also considered HeightOffset to accomodate height of the top and bottom usercontrol.

After setup, page is rendered as expected but the rendering is not consist for every page call. Sometimes, we are getting spliter not resized to 100% width and height.

After debugging and investigation we have found as below:

In in-consistent manner, telerik is throwing javascript error during splitter rendering process and that error is stoping all the further activities(like resizing) to be done on rad splitter(like resizing). 

Further more, after this error,  all client side events are stopped working.

Javascript error we are getting during debugging is not passed to the browser and browser is rendering the page with wrong width and height.

Here is aspx of the page:

 

 

 

<html> 
    <head> 
        <style type="text/css">  
            html, body, form  
            {  
                height: 100%;  
                width: 100%;  
                margin: 0px;  
                padding: 0px;  
                overflow: hidden;  
            }  
        </style> 
    </head> 
    <body> 
        <!-- Top user control --> 
        <EPDM:top ID="top2" runat="server"></EPDM:top>   
        <form id="Form1" method="post" runat="server">  
            <telerik:RadScriptManager ID="RadScriptManager2" runat="server" /> 
            <telerik:RadSplitter ID="RadSplitter1" HeightOffset="200" runat="server" BorderStyle="Solid" 
                Skin="Office2007" Width="100%" Height="100%" ResizeMode="AdjacentPane" Orientation="Vertical">  
                <telerik:RadPane ID="navigationPane" runat="server" LiveResize="true" Width="250px" Scrolling="none">  
                    <telerik:RadPanelBar ID="RadPanelBar2" runat="server" ExpandMode="SingleExpandedItem" Skin="Office2007">  
                        <CollapseAnimation Duration="100" Type="None" /> 
                        <ExpandAnimation Duration="100" Type="None" /> 
                    </telerik:RadPanelBar> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="RadSplitDataToolBar" runat="server" CollapseMode="Forward" 
                    CollapseExpandPaneText="Collapse and Expand" Style="border-color: Black; width: 10px;" skin="Office2007" /> 
                <telerik:RadPane ID="RadPane1" ContentUrl="abc.aspx" Scrolling="Both" runat="server" LiveResize="true">  
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </form> 
        <!-- Bottom user control --> 
        <EPDM:bottom runat="server" ID="bottom2" /> 
    </body> 
</html> 
 

 

We have Q3 2008 build. Please help us fixing this issue.

Thanks,
Vishal

Bryan Strader
Top achievements
Rank 2
 answered on 15 Jan 2010
2 answers
93 views
I have a page with a RadSplitter that works perfectly in Internet Explorer. However in Firefox, the RadSplitter will not load. If I set the VisibleDuringInit="False" the page won't show the splitter. If I set this property to true, it shows the splitter but its not sized properly and appears as if it is not fully initializing. However If the page does a postback the control fully renders. Any ideas would be very helpful, thanks. I believe it has something to do with my upgrade to 2009 Q3, as it was working well in both browsers prior to my upgrade.

Thanks
Bryan Strader
Top achievements
Rank 2
 answered on 15 Jan 2010
1 answer
176 views

I've got a problem with the Telerik controls not rendering controls.
The error I get is:
Could not load file or assembly 'Telerik.Web.UI, Version=209.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3dy' or one of its dependencies. The system cannot find the file specified.

I've gone through the telerik knowledge base, including the troubleshoot guide, and still have resolved the issue.

I've removed Telerik, restarted computer. I deleted the telerik directory in Program Files. Re-opened visual studio and there's no vestiage of telerik in the system. I close VS and re-run the telerik instalation. I then restart VS and Create A New Website using the 'RadControls CSharp WebSite.' I then open the generated Default.aspx and switch to design view. There are three telerik controls: RadAjaxManager1, RadAjaxManager1 and RadSkinManager1.

The following is the web.config file:

 

<?

 

xml version="1.0"?>

 

<!--

 

 

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

 

 

 

-->

<

 

configuration>

 

<

 

configSections>

 

<

 

sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

 

<

 

sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />

 

<

 

section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

<

 

section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

<

 

section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

configSections>

 

<

 

appSettings>

 

<

 

add key="Telerik.Skin" value="Sunset" />

 

<

 

add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />

 

<

 

add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />

 

</

 

appSettings>

 

<

 

connectionStrings/>

 

<

 

system.web>

 

<!--

 

 

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

 

 

-->

 

<

 

compilation debug="false" >

 

<

 

assemblies>

 

<

 

add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

<

 

add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

<

 

add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

</

 

assemblies>

 

</

 

compilation>

 

<

 

pages>

 

<

 

controls>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />

 

</

 

controls>

 

</

 

pages>

 

<!--

 

 

 

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

 

 

-->

 

<

 

authentication mode="Windows" />

 

<!--

 

 

 

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

 

 

-->

 

<

 

httpHandlers>

 

<

 

remove verb="*" path="*.asmx"/>

 

<

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

 

<

 

add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />

 

<

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />

 

<

 

add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

 

<

 

add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />

 

<

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

 

</

 

httpHandlers>

 

<

 

httpModules>

 

<

 

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>

 

<

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>

 

</

 

httpModules>

 

</

 

system.web>

 

<

 

system.codedom>

 

<

 

compilers>

 

<

 

compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

 

<

 

providerOption name="CompilerVersion" value="v3.5"/>

 

<

 

providerOption name="WarnAsError" value="false"/>

 

</

 

compiler>

 

<

 

compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

 

<

 

providerOption name="CompilerVersion" value="v3.5"/>

 

<

 

providerOption name="OptionInfer" value="true"/>

 

<

 

providerOption name="WarnAsError" value="false"/>

 

</

 

compiler>

 

</

 

compilers>

 

</

 

system.codedom>

 

 

<!--

 

 

The system.webServer section is required for running ASP.NET AJAX under Internet

Information Services 7.0. It is not necessary for previous version of IIS.

 

 

-->

 

<

 

system.webServer>

 

<

 

validation validateIntegratedModeConfiguration="false"/>

 

<

 

modules>

 

<

 

remove name="ScriptModule" />

 

<

 

add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0"/>

 

</

 

modules>

 

<

 

handlers>

 

<

 

remove name="WebServiceHandlerFactory-Integrated"/>

 

<

 

remove name="ScriptHandlerFactory" />

 

<

 

remove name="ScriptHandlerFactoryAppServices" />

 

<

 

remove name="ScriptResource" />

 

<

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

</

 

handlers>

 

</

 

system.webServer>

 

<

 

runtime>

 

<

 

assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

 

</

 

dependentAssembly>

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

 

</

 

dependentAssembly>

 

</

 

assemblyBinding>

 

</

 

runtime>

 

</

 

configuration>

 

Schlurk
Top achievements
Rank 2
 answered on 15 Jan 2010
3 answers
616 views
I am using RadGrid in an ASP.NET AJAX control in VS2008, including it on a page with other controls.

I am binding to an IList which is populated by a business object, using Linq. There is no direct access to the tables, only to the collection. The Update, Insert, and Delete operations are all handled by events, not through Linq directly. The Insert and Delete operations both work as intended. I click the add new record button, enter information, and the grid updates properly, displaying the data after the AJAX call. Delete works also, dropping the row after the AJAX call.  The database is updated, also.

However, with Update, the fields turn to edit boxes, you enter your changes, and those are visible. After Update is called, the fields change back to the original values (before typing the changes). The database is changed to the values that were typed in (new values), but those aren't reflected in the grid. Only after a refresh is the current data displayed.

CodeBehind:
    private void BindWebDataGrid()  
    {  
        TelerikCSGConsultantRadGrid.DataSource = null;  
        csgAgreementEfcoUserXRefs = _csgAgreementEfcoUserXrefBL.GetByCsgAgreementId(Agreement.Id);  
        TelerikCSGConsultantRadGrid.DataSource = csgAgreementEfcoUserXRefs;  
        TelerikCSGConsultantRadGrid.DataBind();  
    }  
  
  
    protected void TelerikCSGConsultantRadGrid_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
    {  
        TelerikCSGConsultantRadGrid.DataSource = null;  
        csgAgreementEfcoUserXRefs = _csgAgreementEfcoUserXrefBL.GetByCsgAgreementId(Agreement.Id);  
        TelerikCSGConsultantRadGrid.DataSource = csgAgreementEfcoUserXRefs;  
    }  
  
    protected void TelerikCSGConsultantRadGrid_UpdateCommand(object source, GridCommandEventArgs e)  
    {  
        Efco.Business.Data.CsgAgreementEfcoUserXRef csgAgreementEfcoUserXRef = new CsgAgreementEfcoUserXRef(CurrentUser);  
        GridEditableItem item = e.Item as GridEditableItem;  
        try  
        {  
            csgAgreementEfcoUserXRef.AgreementId = Agreement.Id;  
            csgAgreementEfcoUserXRef.EfcoUserId = Convert.ToInt32((item["EfcoUserId"].Controls[0] as TextBox).Text);  
            csgAgreementEfcoUserXRef.CommissionPercentage = Convert.ToDecimal((item["CommissionPercentage"].Controls[0] as TextBox).Text);  
            csgAgreementEfcoUserXRef.Sequence = Convert.ToInt16((item["Sequence"].Controls[0] as TextBox).Text);  
  
            _csgAgreementEfcoUserXrefBL.Save(csgAgreementEfcoUserXRef);  
        }  
        catch (Exception ex)  
        {  
            TelerikCSGConsultantRadGrid.Controls.Add(new LiteralControl("Unable to update CSG Consultant. Reason: " + ex.Message));  
        }  
    }  
  
    protected void TelerikCSGConsultantRadGrid_InsertCommand(object source, GridCommandEventArgs e)  
    {  
        Efco.Business.Data.CsgAgreementEfcoUserXRef csgAgreementEfcoUserXRef = new CsgAgreementEfcoUserXRef(CurrentUser);  
        GridEditableItem item = e.Item as GridEditableItem;  
        try  
        {  
  
            csgAgreementEfcoUserXRef.AgreementId = Agreement.Id;   
            csgAgreementEfcoUserXRef.EfcoUserId = Convert.ToInt32((item["EfcoUserId"].Controls[0] as TextBox).Text);  
            csgAgreementEfcoUserXRef.CommissionPercentage = Convert.ToDecimal((item["CommissionPercentage"].Controls[0] as TextBox).Text);  
            csgAgreementEfcoUserXRef.Sequence = Convert.ToInt16((item["Sequence"].Controls[0] as TextBox).Text);  
            csgAgreementEfcoUserXRef.RecordCreatedDate = DateTime.Now;  
            csgAgreementEfcoUserXRef.RecordCreatedEfcoUserId = CurrentUser.Id;  
            csgAgreementEfcoUserXRef.RecordUpdateDate = DateTime.Now;  
            csgAgreementEfcoUserXRef.RecordUpdatedEfcoUserId = CurrentUser.Id;  
  
            _csgAgreementEfcoUserXrefBL.Save(csgAgreementEfcoUserXRef);  
        }  
        catch (Exception ex)  
        {  
            TelerikCSGConsultantRadGrid.Controls.Add(new LiteralControl("Unable to insert CSG Consultant. Reason: " + ex.Message));  
        }  
    }  
  
    protected void TelerikCSGConsultantRadGrid_DeleteCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)  
    {  
        Efco.Business.Data.CsgAgreementEfcoUserXRef csgAgreementEfcoUserXRef = new CsgAgreementEfcoUserXRef(CurrentUser);  
        GridDataItem item = e.Item as GridDataItem;  
        try  
        {  
Convert.ToInt32(item.OwnerTableView.DataKeyValues[item.ItemIndex]["EfcoUserId"]);  
  
            csgAgreementEfcoUserXRef = _csgAgreementEfcoUserXrefBL.GetById(Agreement.Id,  
                                                                           Convert.ToInt32(item["EfcoUserId"].Text));  
            _csgAgreementEfcoUserXrefBL.Delete(csgAgreementEfcoUserXRef);  
        }  
        catch (Exception ex)  
        {  
            TelerikCSGConsultantRadGrid.Controls.Add(new LiteralControl("Unable to delete CSG Consultant. Reason: " + ex.Message));  
        }  
    }  

ASP Page:
<Easi:EasiDataPanel ID="TelerikCSGConsultantDataPanel" runat="server">  
    <telerik:RadGrid ID="TelerikCSGConsultantRadGrid" runat="server"   
        AutoGenerateColumns="False" GridLines="None"   
        ondeletecommand="TelerikCSGConsultantRadGrid_DeleteCommand"   
        oninsertcommand="TelerikCSGConsultantRadGrid_InsertCommand"   
        onneeddatasource="TelerikCSGConsultantRadGrid_NeedDataSource"   
        onupdatecommand="TelerikCSGConsultantRadGrid_UpdateCommand"   
        ShowStatusBar="True" >  
        <MasterTableView CommandItemDisplay="Top" EditMode="InPlace" >  
            <RowIndicatorColumn>  
                <HeaderStyle Width="20px" />  
            </RowIndicatorColumn>  
            <ExpandCollapseColumn>  
                <HeaderStyle Width="20px" />  
            </ExpandCollapseColumn>  
            <Columns>  
                <telerik:GridBoundColumn DataField="AgreementId" HeaderText="Agreement ID" DefaultInsertValue="" UniqueName="AgreementNumber"   
                    Visible="False">  
                </telerik:GridBoundColumn>  
                <telerik:GridBoundColumn DataField="EfcoUserId" HeaderText="Efco User ID" DefaultInsertValue="" UniqueName="EfcoUserId">  
                </telerik:GridBoundColumn>  
                <telerik:GridBoundColumn DataField="CommissionPercentage" HeaderText="Commission Percentage" DefaultInsertValue=""   
                    UniqueName="CommissionPercentage">  
                </telerik:GridBoundColumn>  
                <telerik:GridBoundColumn DataField="Sequence" HeaderText="Sequence" DefaultInsertValue="" UniqueName="Sequence">  
                </telerik:GridBoundColumn>  
                <telerik:GridButtonColumn CommandName="Select" Text="Select"   
                    UniqueName="column1">  
                </telerik:GridButtonColumn>  
                <telerik:GridEditCommandColumn>  
                </telerik:GridEditCommandColumn>  
                <telerik:GridButtonColumn CommandName="Delete" Text="Delete"   
                    UniqueName="column">  
                </telerik:GridButtonColumn>  
            </Columns>  
            <EditFormSettings>  
                <EditColumn UniqueName="EditCommandColumn1">  
                </EditColumn>  
            </EditFormSettings>  
        </MasterTableView>  
    </telerik:RadGrid>  
</Easi:EasiDataPanel>  
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"   
    EnablePageHeadUpdate="False">  
    <AjaxSettings>  
        <telerik:AjaxSetting AjaxControlID="TelerikCSGConsultantRadGrid">  
            <UpdatedControls>  
                <telerik:AjaxUpdatedControl ControlID="TelerikCSGConsultantRadGrid" LoadingPanelID="TelerikCSGConsultantDataPanel" />  
            </UpdatedControls>  
        </telerik:AjaxSetting>  
    </AjaxSettings>  
</telerik:RadAjaxManager>  







Jay Anderson
Top achievements
Rank 1
 answered on 15 Jan 2010
9 answers
1.7K+ views
This code is loosely based on several of the demos. The main issue I'm having right now is that when I save data through my external form and call e.Item.OwnerTableView.Rebind() the RadGrid does not get updated. The only way to get the RadGrid to update is by paging or clicking the "Refresh" button.

I'm calling e.Item.OwnerTableView.Rebind() and e.Item.Selected = true within the RadGrid_ItemCommand method.

I have paste all code below incase I'm doing something stupid that's screwing everything up. I'm guessing it's a timing issue.

Thanks for any help.

ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="XmlHttpPanel3.aspx.cs" Inherits="XmlHttpPanel3" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
    <telerik:radcodeblock id="RadCodeBlock" runat="server"> 
        <script type="text/javascript"> 
            //<![CDATA[
            function radGrid_RowSelected(sender, args) {
                var key = args.getDataKeyValue("ContentId");
                var panel = $find("<%=RadXmlHttpPanel.ClientID %>");
                panel.set_value(key);
            }
            //]]> 
        </script> 
    </telerik:radcodeblock> 
</head> 
<body> 
    <form id="form1" runat="server"> 
        <div> 
            <asp:scriptmanager id="ScriptManager" runat="server" /> 
            <telerik:radcombobox id="RadComboBox" runat="server" skin="Telerik" datasourceid="ContentGroupDataSource" datatextfield="ContentGroupName" datavaluefield="ContentGroupId" autopostback="true" appenddatabounditems="true" onselectedindexchanged="RadComboBox_SelectedIndexChanged"> 
                <items> 
                    <telerik:radcomboboxitem text="All" value="0" selected="true" /> 
                </items> 
            </telerik:radcombobox> 
            <br /> 
            <style type="text/css"> 
                .RadGrid_Telerik .rgFilterRow td { 
                    padding-top: 8px; 
                } 
            </style> 
            <telerik:radgrid id="RadGrid" runat="server" skin="Telerik" width="250" allowpaging="true" allowfilteringbycolumn="true" autogeneratecolumns="false" oninit="RadGrid_Init" onneeddatasource="RadGrid_NeedDataSource" onitemcommand="RadGrid_ItemCommand"> 
                <mastertableview commanditemdisplay="Top" editmode="EditForms" datakeynames="ContentId" clientdatakeynames="ContentId"> 
                    <columns> 
                        <telerik:gridboundcolumn uniquename="ContentName" datafield="ContentName" headertext="Name" filtercontrolwidth="200px" currentfilterfunction="Contains" autopostbackonfilter="true"></telerik:gridboundcolumn> 
                    </columns> 
                    <commanditemsettings addnewrecordtext="Add new content" /> 
                    <editformsettings editformtype="Template"> 
                        <formtemplate> 
                            <div style="background:#9DDF6C;padding-top:5px;"> 
                                <table width="100%"> 
                                    <tr> 
                                        <td> 
                                            Name: 
                                        </td> 
                                        <td style="padding-left:2px;"> 
                                            <asp:textbox id="ContentName" runat="server" width="187px"></asp:textbox> 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <td colspan="2" align="right" style="padding-right:10px;"> 
                                            <asp:linkbutton id="Insert" runat="server" commandname="PerformInsert" text="Insert"></asp:linkbutton> 
                                            &nbsp; 
                                            <asp:linkbutton id="Cancel" runat="server" commandname="Cancel" text="Cancel" causesvalidation="false" onclientclick="<%Eval(this.ClientFireCommandFunction(Telerik.Web.UI.RadGrid.CancelCommandName, String.Empty)) %>"></asp:linkbutton> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </div> 
                        </formtemplate> 
                    </editformsettings> 
                </mastertableview> 
                <clientsettings enablerowhoverstyle="true"> 
                    <selecting allowrowselect="true" /> 
                    <clientevents onrowselected="radGrid_RowSelected" /> 
                </clientsettings> 
                <groupingsettings casesensitive="false" /> 
                <pagerstyle mode="NumericPages" showpagertext="false" pagebuttoncount="5" /> 
            </telerik:radgrid> 
             
            <telerik:radxmlhttppanel id="RadXmlHttpPanel" runat="server" skin="Telerik" onservicerequest="RadXmlHttpPanel_ServiceRequest" loadingpanelid="RadAjaxLoadingPanel" enableclientscriptevaluation="true"> 
                <asp:multiview id="MultiView" runat="server"> 
                    <asp:view id="SelectView" runat="server"> 
                        Select Content                     
                    </asp:view> 
                    <asp:view id="EditView" runat="server"> 
                        <asp:label id="ContentId" runat="server"></asp:label> 
                        <br /> 
                        <asp:textbox id="ContentName" runat="server"></asp:textbox> 
                        <br /> 
                        <telerik:radcombobox id="ContentGroup" runat="server" skin="Telerik" datatextfield="ContentGroupName" datavaluefield="ContentGroupId"></telerik:radcombobox> 
                        <br /> 
                        <asp:linkbutton id="SaveContent" runat="server" text="Save" onclick="SaveContent_Click"></asp:linkbutton> 
                    </asp:view> 
                </asp:multiview>                 
            </telerik:radxmlhttppanel> 
             
            <telerik:radajaxmanager id="RadAjaxManager" runat="server"> 
                <ajaxsettings> 
                    <telerik:ajaxsetting ajaxcontrolid="RadComboBox"> 
                        <updatedcontrols> 
                            <telerik:ajaxupdatedcontrol controlid="RadComboBox" /> 
                            <telerik:ajaxupdatedcontrol controlid="RadGrid" loadingpanelid="RadAjaxLoadingPanel" /> 
                            <telerik:ajaxupdatedcontrol controlid="RadXmlHttpPanel" /> 
                        </updatedcontrols> 
                    </telerik:ajaxsetting> 
                    <telerik:ajaxsetting ajaxcontrolid="RadGrid"> 
                        <updatedcontrols> 
                            <telerik:ajaxupdatedcontrol controlid="RadComboBox" /> 
                            <telerik:ajaxupdatedcontrol controlid="RadGrid" loadingpanelid="RadAjaxLoadingPanel" /> 
                            <telerik:ajaxupdatedcontrol controlid="RadXmlHttpPanel" />                             
                        </updatedcontrols> 
                    </telerik:ajaxsetting> 
                </ajaxsettings> 
            </telerik:radajaxmanager> 
            <telerik:radajaxloadingpanel id="RadAjaxLoadingPanel" runat="server"></telerik:radajaxloadingpanel> 
            <asp:objectdatasource id="ContentGroupDataSource" runat="server" typename="Abc.WD.InternationalStore.DataAccess.DataTableAdapters.ContentGroupInfoTableAdapter" selectmethod="GetDataByStoreId"> 
                <selectparameters> 
                    <asp:parameter type="String" name="StoreId" defaultvalue="49D4B1F4-236B-DE11-870E-001A6465230E" /> 
                    <asp:parameter type="Int32" name="CultureId" defaultvalue="1033" /> 
                </selectparameters> 
            </asp:objectdatasource> 
        </div> 
    </form> 
</body> 
</html> 
 


CS
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
using Abc.WD.InternationalStore.DataAccess.DataTableAdapters; 
using Abc.WD.InternationalStore.DataAccess; 
using Telerik.Web.UI; 
 
public partial class XmlHttpPanel3 : System.Web.UI.Page 
{ 
    protected void Page_Load(Object sender, EventArgs e) 
    {         
    } 
 
    protected void SaveContent_Click(Object sender, EventArgs e) 
    { 
        (RadGrid.Items[0] as GridDataItem).FireCommandEvent(RadGrid.UpdateCommandName, String.Empty); 
    } 
 
    protected void RadGrid_Init(Object sender, EventArgs e) 
    { 
        GridFilterMenu menu = RadGrid.FilterMenu; 
        Int32 i = 0; 
        while (i < menu.Items.Count) 
        { 
            if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains") 
            { 
                i++; 
            } 
            else 
            { 
                menu.Items.RemoveAt(i); 
            } 
        } 
    } 
 
    protected void RadGrid_ItemCreated(Object sender, GridItemEventArgs e) 
    { 
        if(e.Item is GridEditableItem && e.Item.IsInEditMode) 
        { 
            GridEditableItem item = e.Item as GridEditableItem; 
             
            LinkButton insert = item.FindControl("Insert") as LinkButton; 
            insert.OnClientClick = String.Format("if(!$find('{0}').fireCommand('PerformInsert', '')) return false;", e.Item.OwnerID); 
 
            LinkButton cancel = item.FindControl("Cancel") as LinkButton; 
            cancel.OnClientClick = String.Format("if(!$find('{0}').fireCommand('CancelInsert','')) return false;", e.Item.OwnerID); 
        } 
    } 
 
    protected void RadGrid_ItemCommand(Object source, Telerik.Web.UI.GridCommandEventArgs e) 
    { 
        switch (e.CommandName) 
        { 
            case RadGrid.PageCommandName: 
                { 
                    MultiView.ActiveViewIndex = 0; 
                } 
                break; 
            case RadGrid.InitInsertCommandName: 
                { 
                    RadComboBox.Text = "All"; 
                    RadComboBox.Items[0].Selected = true; 
                    RadComboBox.Enabled = false; 
 
                    RadGrid.MasterTableView.FilterExpression = String.Empty; 
                     
                    foreach (GridColumn column in RadGrid.Columns) 
                    { 
                        column.CurrentFilterFunction = GridKnownFunction.Contains; 
                        column.CurrentFilterValue = String.Empty; 
                    } 
 
                    RadXmlHttpPanel.Value = String.Empty; 
                } 
                break; 
            case RadGrid.PerformInsertCommandName: 
                { 
                    GridEditFormInsertItem item = e.Item as GridEditFormInsertItem; 
 
                    String contentName = ((TextBox)item.FindControl("ContentName")).Text; 
                    //String contentGroupId = ((RadComboBox)item.FindControl("ContentGroup")).SelectedValue; 
                    String contentGroupId = RadComboBox.FindItemByText("General").Value; 
 
                    ContentInfoTableAdapter adpater = new ContentInfoTableAdapter(); 
                    adpater.GetDataByInsert("49D4B1F4-236B-DE11-870E-001A6465230E", contentGroupId, contentName, String.Empty, 1033); 
 
                    RadComboBox.Enabled = true; 
 
                    RadGrid.AllowFilteringByColumn = true; 
 
                    if (RadGrid.Items.Count == RadGrid.PageSize) 
                    { 
                        RadGrid.CurrentPageIndex++; 
                    } 
                } 
                break; 
            case RadGrid.CancelCommandName: 
                { 
                    RadComboBox.Enabled = true; 
                    RadGrid.CurrentPageIndex = 0; 
                    RadGrid.AllowFilteringByColumn = true; 
                } 
                break; 
            case RadGrid.UpdateCommandName: 
                { 
                    String contentId = (RadGrid.SelectedItems[0] as GridDataItem).GetDataKeyValue("ContentId").ToString(); 
 
                    ContentInfoTableAdapter adapter = new ContentInfoTableAdapter(); 
                    Data.ContentInfoDataTable table = adapter.GetDataByUpdate(contentId, ContentName.Text, String.Empty, 1033, ContentGroup.SelectedValue); 
                    Data.ContentInfoRow content = table[0]; 
 
                    SetEditView(content); 
 
                    MultiView.ActiveViewIndex = 1; 
 
                    e.Item.OwnerTableView.Rebind(); 
                    e.Item.Selected = true; 
                } 
                break; 
        } 
    } 
 
    protected void RadComboBox_SelectedIndexChanged(Object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e) 
    { 
        MultiView.ActiveViewIndex = 0; 
        RadGrid.CurrentPageIndex = 0; 
        RadGrid.Rebind(); 
    } 
 
    protected void RadGrid_NeedDataSource(Object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) 
    { 
        ContentInfoTableAdapter adapter = new ContentInfoTableAdapter(); 
         
        if (RadComboBox.SelectedIndex == 0) 
        { 
            RadGrid.DataSource = adapter.GetDataByStoreId("49D4B1F4-236B-DE11-870E-001A6465230E", 1033); 
        } 
        else 
        { 
            RadGrid.DataSource = adapter.GetDataByContentGroupId(RadComboBox.SelectedValue, 1033); 
        } 
         
    } 
 
    protected void RadXmlHttpPanel_ServiceRequest(Object sender, RadXmlHttpPanelEventArgs e) 
    { 
        ContentInfoTableAdapter adapter = new ContentInfoTableAdapter(); 
        Data.ContentInfoDataTable table = adapter.GetDataByContentId(e.Value, 1033); 
        Data.ContentInfoRow content = table[0]; 
 
        SetEditView(content); 
        MultiView.ActiveViewIndex = 1; 
    } 
 
    void SetEditView(Data.ContentInfoRow content) 
    { 
        ContentId.Text = content.ContentId.ToString(); 
        ContentName.Text = content.ContentName; 
 
        ContentGroup.DataSource = ContentGroupDataSource; 
        ContentGroup.DataBind(); 
 
        RadComboBoxItem selectedContentGroup = ContentGroup.FindItemByValue(content.ContentGroupId.ToString()); 
        selectedContentGroup.Selected = true; 
        ContentGroup.Text = selectedContentGroup.Text; 
    } 
} 
 

Jay Anderson
Top achievements
Rank 1
 answered on 15 Jan 2010
1 answer
233 views
So I've just spent the last few hours trying to read posts and documentation, but I'm a bit lost. Here is my scenario:

- Materpage is setup with empty RadAjaxManager
- it contains a usercontrol (we will just call it uc1) which contains another usercontrol (uc2) which i want to update
- there is a content placeholder, which  at this time would contain an ascx
- in this ascx I have a radtextbox which allows updating of an items name
- this update occurs via ajax to this same ascx (using radajaxmanagerproxy)
- I need this update to then force my uc2 to update via ajax

So my question is pretty broad... where do i even start? I can only assume I somehow have to in my ascx page add a ajaxsetting programatically which is attached to that embedded uc2? But maybe it's easier that that? or harder?

On these same lines, what if within that ascx the rename was done through another usercontrol... would the process be the same to force the uc2 to update?

thanks.

Pavlina
Telerik team
 answered on 15 Jan 2010
1 answer
135 views
Hello,

I have a requirement to allow users to enter HTMl tags in a field.

Right now if I try to add a row which has a field edited with HTML tags the grid gives me an error.
I am using I am using GridTemplateRows.

How can I implement this requirement?
Daniel
Telerik team
 answered on 15 Jan 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?