Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
210 views
I have a textbox and a add button.on click of add button another textbox should be created.The add button should allow only 5 textboxex to be added.And also remove button should also be there for all the dynamically created textboxes.
Any available button control is there in telerik to achieve this?
Slav
Telerik team
 answered on 11 Oct 2012
0 answers
87 views
Hi,

I am working on customizing the Telerik styles for Rad Upload Control, When the browse button of RadUpload Control is getting selected after clicking many time its not working. This problem is getting only with IE8 Standard mode please have a look in attached screenshot.

Please help me with this issue, any help is greatly appreciated.

Thanks,
Mohammed Asifuddin
Mohammed
Top achievements
Rank 1
 asked on 11 Oct 2012
1 answer
198 views
Hello,

I was wondering if there is anything planned to have the MS Ajax scripts loaded from the MS CDN, at the moment I see the default behavior is they are loaded via axd which I'd like to avoid.

Thanks
Alex Galie
Top achievements
Rank 2
 answered on 11 Oct 2012
1 answer
91 views
Hello Telerik Community!

I'm encountering a situation where the header text becomes blank for all columns within a RadGrid NestedViewTemplate after expanding a sibling NestedViewTemplate row.  Here's the breakdown (you might need to draw this one out):

RadGrid1 contains it's own columns along with a NestedViewTemplate.  We'll call this column "Summary.NVT".  Within "Summary.NVT" is RadGrid2 with it's own unique columns.  We'll call this child grid, "Details".  The "Details" table is dynamically generated upon callback "Summary_ItemCreated".  When "Summary.NVT" is expanded for row 0, the "Details" grid and all of it's columns are properly displayed.  When "Summary.NVT" is then expanded for row 1, "Details row 0" retained it's rows but without column header text and "Details row 1" is now properly displayed with column header text.

Following me?  Tricky to explain.  There is one variable which changes the above behavior.  For the "Details" grid, if I specify "AutoGenerateColumns" as true, my column headers will work all the time.  This is great aside from losing formatting capabilities.  I would prefer to add dynamically created columns via "GridBoundColumn" objects.  

The reason for the dynamically generated nested details grid is to display different detail columns for each expanded summary record.  Some summaries will have different detail columns than others.

Any advice on retaining my column header text when expanding multiple rows containing dynamically generated grids?
Antonio Stoilkov
Telerik team
 answered on 11 Oct 2012
2 answers
151 views
Heey my question is how to change the date type in grid so that 2012-11-11-01 00:00:00 is just 2012-11-11 
is this something in codebehind or just a grid option 
thx for help 
Nikola
Top achievements
Rank 2
 answered on 11 Oct 2012
4 answers
59 views
I see that a lot of my controls in editor have a header and footer sub elements. For example, I have a RadTextBox that has sub elements "Header" and "Footer." I haven't figured out what these two things are. What are they?
Maria Ilieva
Telerik team
 answered on 11 Oct 2012
2 answers
107 views
Hi all:
    My front code is below:


<telerik:RadGrid ID="rgLeaveHistory" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" AllowFilteringByColumn="True">
                <MasterTableView DataKeyNames="ActionLinkArg" AllowFilteringByColumn="True">
                    <Columns>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_Cancel">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_Cancel" runat="server" Text='<%#UIUtil.GetLabel("Cancel",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:ImageButton ID="btnRgLeaveHistory_Cancel" runat="server" ImageUrl='<%# Tier_Common.GetStr_ImagePath("Delete")  %>' CommandName="Cancel"/>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_RefId">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_RefId" runat="server" Text='<%#UIUtil.GetLabel("RefId",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_RefId" runat="server" Text='<%#Eval("RefId")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_Status">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_Status" runat="server" Text='<%#UIUtil.GetLabel("Status",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_Status" runat="server" Text='<%#Eval("Status")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_LvType">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_LeaveType" runat="server" Text='<%#UIUtil.GetLabel("LeaveType",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_LeaveType" runat="server" Text='<%#Eval("LeaveType")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_FromDate">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_FromDate" runat="server" Text='<%#UIUtil.GetLabel("FromDate",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_FromDate" runat="server" Text='<%#Eval("FromDate")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_FromTime">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_FromTime" runat="server" Text='<%#UIUtil.GetLabel("FromTime",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_FromTime" runat="server" Text='<%#Eval("FromTime")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_ToDate">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_ToDate" runat="server" Text='<%#UIUtil.GetLabel("ToDate",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_ToDate" runat="server" Text='<%#Eval("ToDate")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_ToTime">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_ToTime" runat="server" Text='<%#UIUtil.GetLabel("ToTime",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_ToTime" runat="server" Text='<%#Eval("ToTime")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_TotalDays">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_TotalDays" runat="server" Text='<%#UIUtil.GetLabel("TotalDays",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_TotalDays" runat="server" Text='<%#Eval("TotalDays")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="RgLeaveHistory_TotalDays">
                            <HeaderTemplate>
                                <asp:Label ID="lblHeaderRgLeaveHistory_Remarks" runat="server" Text='<%#UIUtil.GetLabel("Remarks",UIUtil.GetLangCode(request))%>'></asp:Label></HeaderTemplate><ItemTemplate>
                                <asp:Label ID="lblItemRgLeaveHistory_Remarks" runat="server" Text='<%#Eval("Remarks")%>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                     </Columns>
                 </MasterTableView>
                 <FilterMenu EnableImageSprites="False"></FilterMenu>
            </telerik:RadGrid>

It shows error: "Multiple controls with the same ID 'FilterTextBox_' were found. FindControl requires that controls have unique IDs."
But when I set the property AllowFilteringByColumn to be false , It shows no problem.

Could you help me? Thanks
Singl Pang
Top achievements
Rank 1
 answered on 11 Oct 2012
10 answers
225 views
I have a RadEditor nested inside a FormView so that I can bind database data inside.  This is working nicely.  In trying to save the content of the RadEditor back to the database, however, my CodeFile isn't recognizing my RadEditor.  Here's my .aspx:
<asp:FormView ID="FormView1" runat="server" DataSourceID="editcontentDS"
      DefaultMode="Edit">
<EditItemTemplate>
  <telerik:RadEditor ID="RadEditor1" runat="server" EnableResize="False" Skin="Sunset" Width="950px" Content='<%# Bind("content_detail") %>'>
      <Tools>
          <telerik:EditorToolGroup>
              <telerik:EditorTool Name="Bold" />
              <telerik:EditorTool Name="Italic" />
              <telerik:EditorTool Name="FindAndReplace" />
              <telerik:EditorTool Name="AjaxSpellCheck" />
              <telerik:EditorTool Name="ForeColor" />
              <telerik:EditorTool Name="Undo" />
              <telerik:EditorTool Name="Redo" />
          </telerik:EditorToolGroup>
      </Tools>
  </telerik:RadEditor>
  <br />
  <asp:Button ID="UpdateButton" runat="server" CausesValidation="false" CommandName="Update" Text="Update" />
  <input id="UpdateCancelButton" type="button" value="Cancel" onclick="history.go(-1);return false;" />
</EditItemTemplate>
</asp:FormView>
Then there's my SqlDataSourse:
<asp:SqlDataSource ID="editcontentDS" runat="server"
    ConnectionString="<%$ ConnectionStrings:myconnection %>"
    SelectCommand="SELECT content_detail FROM content_items WHERE pages_id = 1"
    UpdateCommand="UPDATE content_items SET content_detail=@pageContent WHERE pages_id = 1">
    <UpdateParameters>
        <asp:Parameter Name="pageContent" Type="String" />
    </UpdateParameters>
</asp:SqlDataSource>
And lastly my lonely CodeFile:
Protected Sub editcontentDS_Updating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceCommandEventArgs) Handles editcontentDS.Updating
    Dim updatedContent As String = RadEditor1.Content
 
End Sub
RadEditor1 has the following error: 'RadEditor1' is not declared. It may be inaccessible due to its protection level.

Any ideas?
Abhishek
Top achievements
Rank 1
 answered on 11 Oct 2012
1 answer
214 views
Hi,

I my web application, i implemented radconfirm to validate the fileds.When the alert is showing the backround contents are invisible.

Please find the attachment for your referrence.

Thanks,
Venkatesh S

Maria Ilieva
Telerik team
 answered on 11 Oct 2012
1 answer
140 views
I have attached related files for a clearer explanation...

I created a custom skin using your online tool and that went well.  I downloaded and unzipped the file and installed the contents in my .net 4.0 web site project (VS2012). I named the custom skin "Custom" for the sake of brevity and easy testing.  You can see the resulting structure in ProjectLayout.png.

I turned off embedded skins in the menu control and included the name of the skin as well.  Please refer to menucontrol.png for that definition.  One note...this is in a user control and not being placed directly on a web page.

When the page/user control is displayed, there are no styles being applied to the menu (please refer to DisplayedMenu.png).  If I change the "embedded skins" property to true and the name of the skin to one of the included skins, it displays just fine according to the selected embedded skin.

In addition, no skin/css files are being called for during the page display.  You can see that in the included Fiddler screen capture.

I'm pretty certain I'm missing something really stupid, but I have followed the instructions in the video for the Visual Style Builder (which was an otherwise good video).

Can anyone tell me what I am missing?

Thanks in advance for assistance!

Lynn
Kate
Telerik team
 answered on 11 Oct 2012
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?