Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hi All

how I can edit a specific cell of a gridview selecting a row in javascript ?.


Thank you very much beforehand.

Richard
Top achievements
Rank 1
 answered on 26 Mar 2012
1 answer
80 views
Hi,
if we are having a telerik ajax panel inside another radajax panel then if there is any postback in the controls inside the inner radajax panel then which ajax panel will work?
is there any benefit of using radajax panel inside another radajax panel?

Thanks in advance
Jiju
Eyup
Telerik team
 answered on 26 Mar 2012
7 answers
430 views
Hi,

Is there a way to add the CalendarExtender from Ajax Control Toolkit inside the RadGrid ? In my table I've got a datetime field so I need to perform a little validation for the date field.

Thanks a lot
Martin
Telerik team
 answered on 26 Mar 2012
3 answers
91 views
Hi Team,
I am using Editor, i passed the data from DB to editor is like
<table class="topbot" pgwide="1" id="nzf_734"><caption>
              Recommended regimens for
              <i>Helicobacter pylori</i>
              eradication in adults
            </caption><colgroup cols="5"><col colname="col1" /><col colname="col2" /><col colname="col3" /><col colname="col4" /><col colname="col5" /></colgroup>
<colspec colname="col1" />
<colspec colname="col2" />
<colspec colname="col3" />
<colspec colname="col4" />
<colspec colname="col5" /><thead> etc 
But the editor display the above content as like
<table id="nzf_734" class="topbot" pgwide="1"><caption>
              Recommended regimens for
              <i>Helicobacter pylori</i>
              eradication in adults
            </caption>
<colgroup cols="5"><col colname="col1">
<col colname="col2"><col colname="col3">
<col colname="col4"><col colname="col5">
</colgroup><colspec colname="col1"><colspec colname="col2"><colspec colname="col3"><colspec colname="col4"><colspec colname="col5"><thead>                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

                Editor automatically remove the end tag, if it is not contain the value.
it will create problem for me. How to solve this issue. Please help me. It is urgent.

Thanks
Uma
Rumen
Telerik team
 answered on 26 Mar 2012
28 answers
885 views
Hi

I have GridDropdownColumn in RadGrid with different source. I wired the DataField, ListValueField and ListTextField all correctly. It doesn't show the value properly when the grid is shown but when edit mode you select the dropdown value it stores is correctly. When displaying in grid, it all shows "&nbsp;"  am I missing anything?

Attached the code.

 <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" AllowPaging="true"
            PageSize="25" ShowStatusBar="true" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
            AllowAutomaticDeletes="True" DataSourceID="PetroSqlDataSource">
            <MasterTableView EditMode="Popup" CommandItemDisplay="Bottom" DataSourceID="PetroSqlDataSource"
                DataKeyNames="Id" AutoGenerateColumns="false">
                <Columns>
                    <telerik:GridEditCommandColumn />
                    <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" />
                    <telerik:GridBoundColumn DataField="Id" HeaderText="Unique ID" ReadOnly="True" UniqueName="UniqueID"
                        Display="false" />
                    <telerik:GridBoundColumn DataField="SkillId" HeaderText="Skill ID" UniqueName="SkillID" />
                    <telerik:GridDropDownColumn UniqueName="DropDownListColumn" ListTextField="Discipline"
                        ListValueField="Discipline" DataSourceID="PetroSqlDataSource2" HeaderText="Discipline"
                        DataField="Discipline" DropDownControlType="RadComboBox" AllowSorting="true" Display="false">
                    </telerik:GridDropDownColumn>
                    <telerik:GridBoundColumn DataField="Discipline" HeaderText="Discipline" UniqueName="Discipline"
                        ReadOnly="True" />
                    <telerik:GridBoundColumn DataField="Skill" HeaderText="Skill" UniqueName="Skill" />
                    <telerik:GridBoundColumn DataField="Description" HeaderText="Description" UniqueName="Description" />
                    <telerik:GridBoundColumn DataField="Foundation" HeaderText="Foundation" UniqueName="Foundation" />
                    <telerik:GridBoundColumn DataField="SkillType" HeaderText="SkillType" UniqueName="SkillType" />
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="PetroSqlDataSource" ConnectionString="<%$ConnectionStrings:PetroTechConnectionString%>"
            runat="server" SelectCommand="SELECT [Id],[SkillId], [Discipline],[Skill],[Description], [Foundation],[SkillType] FROM [Skills]"
            InsertCommand="INSERT INTO [Skills] ([SkillId],[Discipline],[Skill],[Description],[Foundation],[SkillType]) VALUES (@SkillId,@Discipline,@Skill,@Description,@Foundation,@SkillType)"
            UpdateCommand="UPDATE [Skills] SET [SkillId] = @SkillId,[Skill] = @Skill, [Description] = @Description, [Foundation] = @Foundation, [SkillType] = @SkillType WHERE [ID] = @ID"
            DeleteCommand="DELETE FROM [Skills] WHERE [Id] = @ID">
            <InsertParameters>
                <asp:Parameter Name="SkillId" Type="String" Size="10" />
                <asp:Parameter Name="Discipline" Type="String" Size="50" />
                <asp:Parameter Name="Skill" Type="String" Size="50" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="Foundation" Type="Int32" />
                <asp:Parameter Name="SkillType" Type="Int32" />
            </InsertParameters>
        </asp:SqlDataSource>


        <asp:SqlDataSource ID="PetroSqlDataSource2" ConnectionString="<%$ConnectionStrings:PetroTechConnectionString%>"
            runat="server" SelectCommand="SELECT [Id],[Discipline] FROM [Disciplines]">
            </asp:SqlDataSource>
Mike
Top achievements
Rank 2
 answered on 26 Mar 2012
2 answers
567 views
How do I set columns to HtmlEncode="false" when I am setting AutoGenerateColumns="true" for the RadGrid?
Scott
Top achievements
Rank 1
 answered on 26 Mar 2012
4 answers
102 views
I ran across a java script function called raise_passwordStrengthCalculating but I can't find any documentaion on it or how to use it?  See I've figured out a way how to get a value from a database into a password field, but I haven't figured out how to get the password field to calculate the password strength.  And I think that function would do it, but can't quite wrap my head around how to call it.

I guess I didn't get my secret decoder ring along with my subscription.
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 26 Mar 2012
2 answers
283 views
I would like to expand only 1 row based on data that is found during the ItemDataBound event.  Is this possible?
Seth
Top achievements
Rank 1
 answered on 26 Mar 2012
1 answer
103 views
Hi

When I place below code
<tool name="Line Spacing" type="dropdown" enabled="true" iconurl="~/RadControls/Editor/Skins/Default/Buttons/LineSpacing.gif">
      <item name="Default" value="" />
      <item name="Single space" value="20px" />
      <item name="1.5 Lines" value="35px" />
      <item name="Double spacing" value="50px" />
    </tool>

My radeditor does not respond. When I remove iconurl from above line then it works fine.
I have replace the iconurl path with my local system path and have image also.

I need to have a icon for line spacing instead of combo box presently display.

Thanks
Gautam Singh
Richard
Top achievements
Rank 1
 answered on 26 Mar 2012
2 answers
106 views
Hi,

Currently we are using the Q1 2010 version of Telerik.Web.UI for the v2.0 Framework.  We just moved from VS2008 to VS2010 and now our Unit Tests are failing.  Our projects are running on the 3.0 Framework, but our Unit Tests projects are on the 4.0 Framework.

We are now getting the following error in each unit test project when running the unit tests:

 error CS0012: The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 

I am working to see if I just have some bad references.  But anytime I add a new System.Web.Extensions reference  for v2.0 it adds the v4.0.  

Therefore, my question is.  Due to the fact that unit tests in VS2010 must be on either 3.5 or 4.0, does that mean I have to upgrade to a 3.5 version of Telerik for my unit tests to work?

Thanks,

Chrystal
Chrystal Tyler
Top achievements
Rank 1
 answered on 26 Mar 2012
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?