Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
330 views
Hello 
I am having 2013.1.413.45 version of Telerik DLL, which works prefect on VS 2012. But due to some other need, I have to use VS 2010. When I refer this (2013.1.413.45) version DLL in VS 2010. It doesn't work. From where I can download the older version which is compatible for VS 2010 which will work for me.

Thanks
Ashwin

  
Rumen
Telerik team
 answered on 10 Sep 2013
3 answers
210 views
Hi

In the following image, we can see all appointments from April 15 to April 20 (7 columns for 7 days) BUT in the header is showing  "apr-15 - apr-20". ALSO when I add the "All-Day row" the header is now showing April 15 to April 21.  Can you explain the internal logic of the end-date in the header?


Thanks

Phil

Bozhidar
Telerik team
 answered on 10 Sep 2013
1 answer
138 views
Hello,

I am trying out the asp.net Telerik controls and have started a new project using them. Once I purchase the control set can I keep the existing project and just update to the registered controls? I don't want to start over with the project.

Thanks,

Warren
Rumen
Telerik team
 answered on 10 Sep 2013
3 answers
94 views
Hi team,

Recently we start using the application on IE10, earlier we were using IE8. but when we are running the application on IE10 then date picker appearing wide when they are enabled on page and appearing sort when they disabled on page, also grid showing white space at the end of the column.Suddently i found application showing a unexpected behaviour when running on IE10
We are using telerik 3.5 toolkit also below code was used earlier for IE8 on web config

   <httpProtocol>
      <customHeaders>
        <add name="X-UA-Compatible" value="IE=8" />
      </customHeaders>
    </httpProtocol>
Could you please help me to rid this issue, it is very important in business point of view

Thanks
Afroz
Venelin
Telerik team
 answered on 10 Sep 2013
3 answers
204 views
Hello,

I have a problem with RadAutoCompleteBox.EntryAdded server event. 
I use a dropdownlist to bind RadAutoCompleteBox, and set RadAjaxManager then it can be async, but it's not firing,
when I remove  RadAjaxManager's setting, back to Postback mode, it's work fine.
please help me to resolve this issue, thanks!!

aspx:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
         <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ddlRoleId">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlRoleId" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    <telerik:AjaxUpdatedControl ControlID="racEmp"></telerik:AjaxUpdatedControl>          
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" skin="Vista"/>
 
 
<asp:DropDownList ID="ddlRoleId" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlRoleId_SelectedIndexChanged"></asp:DropDownList>  
    
       
<telerik:RadAutoCompleteBox ID="racEmp" runat="server" Width="700" DropDownWidth="300" Delimiter=";" InputType="Token" DropDownPosition="Automatic" Skin="Windows7">
</telerik:RadAutoCompleteBox>

aspx.cs:
protected void ddlRoleId_SelectedIndexChanged(object sender, EventArgs e)
    {
        RadAutoCompleteBoxEntryAdd();
    }
 
    #region RadAutoCompleteBox
    private void RadAutoCompleteBoxEntryAdd()
    {
        racEmp.Entries.Clear();
         
        String strType = ddlRoleId.Text;
        //String strType = "ITAdmin";
        Roles r = new Roles();
        Employee emp = new Employee();
        DataTable dt = r.getRoleEmpList(strType);
        //RadAjaxManager1.Alert(dt.Rows.Count.ToString());
        if (dt.Rows.Count > 0)
        {
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                String strEmpId = dt.Rows[i]["EmpId"].ToString();
                DataTable dtEmp = emp.getEmpList(strEmpId);
                String strEmpName = dtEmp.Rows[0]["EmpName"].ToString();
                racEmp.Entries.Add(new AutoCompleteBoxEntry(strEmpName, strEmpId));
                 
                //RadAjaxManager1.Alert(entry.Text);
            }
        }
 
        RadAutoCompleteBoxDataBind(racEmp, emp.getEmpList(), "ADAccount", "EmpName");
    }
    #endregion
 
 public static void RadAutoCompleteBoxDataBind(RadAutoCompleteBox rac, DataTable dtsource, String value, String text)
        {
            rac.DataSource = dtsource;
            rac.DataValueField = value;
            rac.DataTextField = text;
            //rac.DataBind();
 
             
        }
P.S My Ver 2012.2.912.35

Best regards

Nencho
Telerik team
 answered on 10 Sep 2013
1 answer
134 views
how can I make  tabstrip placement bottom ? is there something like TabStripPlacement="Bottom" (which there is in asp TabContainer)?
Princy
Top achievements
Rank 2
 answered on 10 Sep 2013
2 answers
324 views
hello , 

i want to create a radgrid with template column that have radbinaryimage as itemtemplate and radupload as edittemplate, 

uploaded images should be saved in db as byte[], 

how can i upload images and save them using item_command event ?? 
Loyal User
Top achievements
Rank 1
 answered on 10 Sep 2013
1 answer
84 views
Hi Admin,

i am facing one problem,this problem is occuring for telerik combobox in IE9,IE10(in IE8 its working fine)

Issues is-When i entered any charecter in the filtered textbox (in combobox).it is taking for the first charecter only.

when trying to enter another charecter it is clearing previous charecter and showing the currently entered one.

By this i am unable to search by the data what i want to enter.

can you please help me out of this issue. will ready to provide the extra information if needed.

Thanking you
Adityap
Nencho
Telerik team
 answered on 10 Sep 2013
1 answer
96 views
Hi All,

I have one dropdownlist of all database table names and on the selection of the table name all the data of that table are loading in Telerik Radgrid.

My Requirements are
1. Inplace edit mode.
2. If Database column type is Numeric/int/float... then I want to show RadNumeric Text box, if column type is "DateTime" then I want to show DatePicker, if Column Type is 'Varchar' then want to show textbox etc...
3. Each database table has different number of columns and different datatypes.

so anybody can tell that how can I add respective controls in edit mode based on SQL Data Type?

currently all the data are showing in the textbox in inplace editmode, can any one please help us for this scenario and tell us how can I change text box to radnumeric textbox or datepicker in gridview of InPlace Edit mode???

Thanks in Advance!

Thanks & Regards,
Kiran Patel
Antonio Stoilkov
Telerik team
 answered on 10 Sep 2013
0 answers
111 views
Hi All

I need to bind the address field of a bank name choosen in a Radcombobox of a radgrid to a next template's textbox.  My aspx code is given below.

 

 

 

 

 

 

<telerik:RadGrid ID="RGBankCash" runat="server" DataSourceID="BankDataSource"

 

 

 

 

 

GridLines="None" Skin="Vista" Width="500px" AllowPaging ="true "

 

 

 

 

 

ondeletecommand="RGBankCash_DeleteCommand" PageSize ="10"

 

 

 

 

 

oninsertcommand="RGBankCash_InsertCommand"

 

 

 

 

 

onupdatecommand="RGBankCash_UpdateCommand"

 

 

 

 

 

OnItemDataBound="RGBankCash_ItemDataBound">

 

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="BankKey" DataType="System.Int32"

 

 

 

 

 

 

HeaderText="BankKey" ReadOnly="True" SortExpression="BankKey"

 

 

 

 

 

 

UniqueName="BankKey" Visible="False">

 

 

 

 

 

 

</telerik:GridBoundColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn DataField="BankName" FilterControlWidth="150px"

 

 

 

 

 

 

HeaderText="Bank Name" SortExpression="BankName" UniqueName="BankName">

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<telerik:RadComboBox ID="BankKeyRadComboBox" Runat="server"

 

 

 

 

 

 

DataSourceID="BankDS" Skin="Vista" DataTextField="BankName"

 

 

 

 

 

 

DataValueField="BankKey" SelectedValue='<%# Bind("BankKey") %>' Autopostback="true" >

 

 

 

 

 

 

</telerik:RadComboBox>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="BankKeyLabel" runat="server"

 

 

 

 

 

 

Text='<%# Eval("BankName") %>'></asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<HeaderStyle Width="250px" />

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn DataField="BankAddress" HeaderText="Bank Address" FilterControlWidth="200px"

 

 

 

 

 

 

SortExpression="BankAddress" UniqueName="BankAddress" ItemStyle-HorizontalAlign = "Center">

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:TextBox ID="BankAddressTextBox" runat="server"

 

 

 

 

 

 

Text='<%# Bind("BankAddress") %>' Width="300px"></asp:TextBox>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="RequiredFieldValidator3"

 

 

 

 

 

 

runat="server" ErrorMessage="Please Enter Bank Address!"

 

 

 

 

 

 

Display="Dynamic" SetFocusOnError="true" ControlToValidate = "BankAddressTextBox" style="color: #FF0000">

 

 

 

 

 

 

</asp:RequiredFieldValidator>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="BankAddressLabel" runat="server"

 

 

 

 

 

 

Text='<%# Eval("BankAddress") %>'></asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<HeaderStyle Width="200px" />

 

 

 

 

 

 

<ItemStyle HorizontalAlign="Left"></ItemStyle>

 

 

 

 

 

 

</telerik:GridTemplateColumn>










 

 

 

 

 

 

<asp:SqlDataSource ID="BankDS" runat="server"

 

 

 

 

 

ProviderName="System.Data.SqlClient"

 

 

 

 

 

DataSourceMode="DataReader"

 

 

 

 

 

onload="BankDS_Load">

 

 

 

 

 

</asp:SqlDataSource>

My Code behind is

 

 

 

 

 

protected void RGBankCash_ItemDataBound(object sender, GridItemEventArgs e)

{

 

 

 

 

 

if (e.Item is GridDataItem)

{

 

 

 

 

 

GridDataItem insertItem = (GridDataItem)e.Item;

 

 

 

 

 

RadComboBox combo = (RadComboBox)insertItem.FindControl("BankKeyRadComboBox");

combo.AutoPostBack =

 

 

 

 

 

true;

combo.SelectedIndexChanged +=

 

 

 

 

 

new RadComboBoxSelectedIndexChangedEventHandler(this.combo_SelectedIndexChanged);

}

}

 

 

 

 

 

private void combo_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)

{

}

 How to write remaining code?

 

 

 

 

 

 

 

 

 

 

Kavitha
Top achievements
Rank 1
 asked on 10 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?