Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
97 views
We have been working to integrate with our client's Team Foundation Server source control. I am not familiar with this process but they believed that there should be a way to build the projects for deployment on a build machine without having to own a license themselves since they do not do the development. Is this possible?
Vasil
Telerik team
 answered on 29 Aug 2012
1 answer
98 views
hi,

I have rad time picker, and I have normal link button click event,
in this click event, I am trying to use $find method to select rad time picker, but always find method return null value, here is my test project link

(the link has been removed)
Vasil
Telerik team
 answered on 29 Aug 2012
11 answers
265 views
ASP.Net AJAX: Upload is rapidly becoming obsolete.

I have stopped recommending this product to clients and for our own internal projects.

Unless there are plans (real serious plans) to add Web Farm and Load Balancing support to ASP.Net AJAX: Upload by enabling a database or shared file system location for buffering and progress management, I will be abandoning ASP.Net AJAX: Upload.

I have spoken to a number of other users who are in the same boat.  The long-term problem we face is what to do with our Telerik subscriptions after we have stopped using the primary components. 

Replacing things like drop-downs with Open Source and paying for a one-component (but high quality) Upload widget seems like a better option.

Thoughts?  Does Telerik have enough resources to produce high quality individual control feature sets?  Or is the goal many pretty components with so-so features?
Genady Sergeev
Telerik team
 answered on 29 Aug 2012
1 answer
59 views
Hi,

For convenient, I always add every Bound Column's UniqueName to List of DataKeysNames. I wonder if,  under this scenario, will it ever cause any exception in anyway?
For example, my grid bind to a DataTable with Columns: FirstName, LastName, Age. Then I'll set the DataKeyNames property as FirstName, LastName, Age.

The reason I ask this is because somehow I got some strange exception and I'm not sure if it is related to the fact that I add every Bound Columns to DataKeyNames.

I heard that it may cause exception in the table has two or more identical rows, but I've tested and it didn't cause exception at all.

Thanks

Lamk.
Jayesh Goyani
Top achievements
Rank 2
 answered on 29 Aug 2012
3 answers
179 views

Hi there I'm having trouble with the following:

I have a web form that has a RadTabStrip and when you click on a tab a webusercontrol gets loaded dynamically. Inside this webusercontrol I have a read-only RadGrid. When I click on a row on this RadGrid another webusercontrol (a 2nd) gets loaded dynamically as well. But this time, this 2nd webusercontrol has an editable RadGrid in it.

PROBLEM:
The problem lies in this 2nd webusercontrol

When I click on the Insert linkbutton, the ItemCommand event fires (e.Command = InitInsert). The RadGrid enters into edit-form. Everything's OK. But when I click on the Update linkbutton, the ItemCommand event doesn't fire! (e.Command = PerformInsert).

Please can someone help me with this issue asap? or shed some light?

Felix

Radoslav
Telerik team
 answered on 29 Aug 2012
4 answers
548 views
I want to remove the window icon in my custom skin. I can hide the icon in the style sheet but i also need to left align the title text, but there appears to be a table cell (where the icon was?). Is there a way to do this?
Thein
Top achievements
Rank 1
 answered on 29 Aug 2012
5 answers
248 views
hello Telerik supporter i have a issue i've been a week working on it but i couldn't find a proper solution for it and i hope if you can help me with a proper solution for it i am using RadAsyncUpload to upload my client files and i am using the OnClientValidationFailed to display a message for the user but my problem is the invalid uploaded file is displayed in the <li>..</li> with the message how can prevent this from happening ? in other word how can i display only the message without letting the user see the unvalid file and let him click the remove button please show me some code if available and thank you 
Peter Filipov
Telerik team
 answered on 29 Aug 2012
1 answer
80 views
Hi

I have multiple select radupload control after I selct the file I want set file name to link button aside to it.
click on link file will give the view of uploaded file .

Please help me in this functionality.

Thanks.

Peter Filipov
Telerik team
 answered on 29 Aug 2012
1 answer
109 views
I have been working on an old system that uses "RadControls for ASP.NET AJAX Q3 2010 NET 40" where the controls are suddenly not working for IE9 only. The system works perfectly in Firefox and IE8, but in IE9 today (yesterday it was fine!) it suddenly won't work in any IE9 I can test it with. I've tried rebooting machines, clearing cache, rebooting web servers: it's only IE9. It's almost as if Microsoft have released an update that has wrecked it.

In the developer tools for IE9, it's saying this:

SCRIPT5022: ASP.NET Ajax client-side framework failed to load.
Default.aspx, line 90 character 34
SCRIPT5009: 'Sys' is undefined
Default.aspx, line 139 character 1
SCRIPT5009: 'Telerik' is undefined
Default.aspx, line 848 character 6
SCRIPT5009: 'Telerik' is undefined
Default.aspx, line 1145 character 1

But in Firefox, there's no whiff of there being any errors whatsoever and the thing works perfectly. Works fine in Chrome 17, as well.

What could be causing this sudden strangeness in IE9 only?

Thanks.
Marc Fearby
Top achievements
Rank 1
 answered on 29 Aug 2012
4 answers
324 views
Hello Everyone,

I need some help in figuring out how to implement a RadComboBox bound to a Linq datasource with a "add new item in the header of the radcombobox which adds an item to the datasource.  The radcombobox in also inside a RadGrid.  Here is a screen-shot of what I am trying to accomplish.  If anyone could help or post a sample project I would appreciate it! 

What I would like the behaviour to be is that on edit or insert to be able to add the item in the RadComboBox and do a postback to update the datasource bound to the RadComboBox.  Ideally I would like to see two versions one for SQLDatasource and one for LinqDatasource to understand the differences.

I have no idea on how to implement this to work?
I tried to add a sample project but this post would not allow me to do so?

ASPX:
<div>
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True"
            AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CellSpacing="0"
            DataSourceID="SqlDataSource1" GridLines="None" Width="800px">
<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top"
                DataKeyNames="ProblemID" DataSourceID="SqlDataSource1">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridEditCommandColumn FilterControlAltText="Filter EditCommandColumn column">
        </telerik:GridEditCommandColumn>
        <telerik:GridBoundColumn DataField="ProblemID" DataType="System.Int32"
            FilterControlAltText="Filter ProblemID column" HeaderText="ProblemID"
            ReadOnly="True" SortExpression="ProblemID" UniqueName="ProblemID">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn DataField="DefectID" DataType="System.Int32"
            FilterControlAltText="Filter DefectID column" HeaderText="DefectID"
            SortExpression="DefectID" UniqueName="DefectID">
            <EditItemTemplate>
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px" width="300px">
             
                <telerik:RadComboBox ID="DefectComboBox" runat="server" AllowCustomText="True"
                    AppendDataBoundItems="True" DataSourceID="SqlDataSource2"
                    DataTextField="Defect" DataValueField="DefectID" Height="150px"
                    HighlightTemplatedItems="True" SelectedValue='<%# Bind("DefectID") %>'
                    Skin="Windows7" Width="365px">
                    <Items>
                        <telerik:RadComboBoxItem Selected="True" Text="[Not Defined]" Value=""
                            Owner="DefectComboBox" />
                    </Items>
                    <WebServiceSettings>
                        <ODataSettings InitialContainerName="">
                        </ODataSettings>
                    </WebServiceSettings>
                    <HeaderTemplate>
                        <telerik:RadTextBox ID="RadTextBox1" Runat="server" AutoPostBack="True"
                            EmptyMessage="add a new defect" LabelWidth="" Text='<%# Bind("Defect") %>'
                            Width="185px">
                        </telerik:RadTextBox>
                        <telerik:RadButton ID="addDefect" runat="server" Text="Add">
                            <Icon PrimaryIconCssClass="rbAdd" />
                        </telerik:RadButton>
                    </HeaderTemplate>
                    <FooterTemplate>
                        <br />
                    </FooterTemplate>
                </telerik:RadComboBox>
                </telerik:RadAjaxPanel>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="DefectIDLabel" runat="server" Text='<%# Eval("DefectID") %>'></asp:Label>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="ProblemName"
            FilterControlAltText="Filter ProblemName column" HeaderText="ProblemName"
            SortExpression="ProblemName" UniqueName="ProblemName">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ProblemDescription"
            FilterControlAltText="Filter ProblemDescription column"
            HeaderText="ProblemDescription" SortExpression="ProblemDescription"
            UniqueName="ProblemDescription">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ProblemDate" DataType="System.DateTime"
            FilterControlAltText="Filter ProblemDate column" HeaderText="ProblemDate"
            SortExpression="ProblemDate" UniqueName="ProblemDate">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="False">
<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
</FilterMenu>
 
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
</HeaderContextMenu>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            DeleteCommand="DELETE FROM [Problems] WHERE [ProblemID] = @ProblemID"
            InsertCommand="INSERT INTO [Problems] ([DefectID], [ProblemName], [ProblemDescription], [ProblemDate]) VALUES (@DefectID, @ProblemName, @ProblemDescription, @ProblemDate)"
            SelectCommand="SELECT * FROM [Problems]"
            UpdateCommand="UPDATE [Problems] SET [DefectID] = @DefectID, [ProblemName] = @ProblemName, [ProblemDescription] = @ProblemDescription, [ProblemDate] = @ProblemDate WHERE [ProblemID] = @ProblemID">
            <DeleteParameters>
                <asp:Parameter Name="ProblemID" Type="Int32" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="DefectID" Type="Int32" />
                <asp:Parameter Name="ProblemName" Type="String" />
                <asp:Parameter Name="ProblemDescription" Type="String" />
                <asp:Parameter Name="ProblemDate" Type="DateTime" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="DefectID" Type="Int32" />
                <asp:Parameter Name="ProblemName" Type="String" />
                <asp:Parameter Name="ProblemDescription" Type="String" />
                <asp:Parameter Name="ProblemDate" Type="DateTime" />
                <asp:Parameter Name="ProblemID" Type="Int32" />
            </UpdateParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server"
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="SELECT [DefectID], [Defect] FROM [Defects]">
        </asp:SqlDataSource>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server"
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            DeleteCommand="DELETE FROM [Defects] WHERE [DefectID] = @DefectID"
            InsertCommand="INSERT INTO [Defects] ([Defect]) VALUES (@Defect)"
            SelectCommand="SELECT [DefectID], [Defect] FROM [Defects]"
            UpdateCommand="UPDATE [Defects] SET [Defect] = @Defect WHERE [DefectID] = @DefectID">
            <DeleteParameters>
                <asp:Parameter Name="DefectID" Type="Int32" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="Defect" Type="String" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="Defect" Type="String" />
                <asp:Parameter Name="DefectID" Type="Int32" />
            </UpdateParameters>
        </asp:SqlDataSource>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
            Skin="Default">
             
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
            DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1"
                            LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    </div>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web;
 
public partial class PBM : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
         
    }
    //protected void addDefect_Click(object sender, EventArgs e)
    //{
    //    DefectsTableAdapters.InsertDefectsTableAdapter instdfcts = new
    //    DefectsTableAdapters.InsertDefectsTableAdapter();
    //    int numRows = instdfcts.InsertDefects(RadTextBox1.Text);
    //}
}



Thanks
Bill.
Pavlina
Telerik team
 answered on 28 Aug 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?