Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
103 views
Hi
Is it possible to set a max number of columns fields in the fieldswindows?
Maria Ilieva
Telerik team
 answered on 23 May 2014
1 answer
115 views
Hi All, I 'm a matter when using RadGrid and radwindow to
insert/update data from database. I used Formview to add data( controls:
textbox, combobox), but i used two related combox in formview to filter
data , i have  error:
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
My codes:
1. combox 1:
<telerik:RadComboBox ID="ddlMaSP" Runat="server" DataSourceID="SqlDsMaSP"

DataTextField="TenSP" DataValueField="MaSP" SelectedValue='<%# Bind("MaSP") %>'

Skin="Office2007" Width ="300px">

</telerik:RadComboBox>

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

ConnectionString="<%$ ConnectionStrings:PGKH %>" SelectCommand="PGKH_CboMaSP"

SelectCommandType="StoredProcedure">

</asp:SqlDataSource>

2. combbox thứ 2:

<telerik:RadComboBox ID="ddlCTMaSP" Runat="server" DataSourceID="SqlDsCTMaSP"

DataTextField="CTMaSP" DataValueField="IdCTMaSP"

SelectedValue='<%# Bind("IdCTMaSP") %>' Skin="Office2007" Width ="300px">

</telerik:RadComboBox>

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

ConnectionString="<%$ ConnectionStrings:PGKH %>"

SelectCommand="PGKH_CboChiTietMaSP" SelectCommandType="StoredProcedure">

<SelectParameters>

<asp:ControlParameter ControlID="ddlMaSP" Name="MaSP"

PropertyName="SelectedValue" Type="Int32" />

</SelectParameters>

</asp:SqlDataSource>
I get error When i using Autopostback for two comboxbox, but i not
use Autopostback is not error but two comboxbox not related. Thanks all.
Nencho
Telerik team
 answered on 23 May 2014
1 answer
58 views
When using Internet Explorer on a Windows Phone, when typing the first character into a radmaskedtextbox, the cursor will skip to past the end of the input mask. So if the mask if four characters, after the first character is entered, the cursor will skip to the fifth position. Tested on a HTC6990LVW running Windows Phone 8.
Daniel
Telerik team
 answered on 23 May 2014
3 answers
141 views


Hi  all.

I have a radtreelist in my application.I have given the code  in 'aspx' below.

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  />

 

 

 

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

 

 

 

<AjaxSettings>

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RadTreeList1">

 

 

 

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadTreeList1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

<br />

 

 

 

 

<telerik:RadTreeList ID="RadTreeList1" runat="server" OnNeedDataSource="RadTreeList1_NeedDataSource"

 

 

 

AutoGenerateColumns="false" AllowMultiItemSelection="true"

 

 

 

AllowPaging="false" AllowSorting="true" DataKeyNames="ID"

 

 

 

ParentDataKeyNames="PID" AlternatingItemStyle-BackColor ="#EFF5FB" ItemStyle-BackColor="#E0ECF8" ShowTreeLines="false" >

 

 

 

 

<Columns>

 

 

 

 

 

<telerik:TreeListBoundColumn DataField="Code" UniqueName="Code" HeaderText="Heading" HeaderStyle-Width="90" ItemStyle-Font-Names="Arial, Sans-Serif" />

 

 

 

<telerik:TreeListBoundColumn DataField="StatisticalCode" UniqueName="StatisticalCode" HeaderText="Stats Code" HeaderStyle-Width="50" HeaderStyle-Wrap="true" ItemStyle-Font-Names="Arial, Sans-Serif" ItemStyle-Font-Size="Medium" HeaderStyle-Font-Names="Arial, Sans-Serif" HeaderStyle-Font-Size="Medium" HeaderStyle-Font-Bold="true" HeaderStyle-BackColor="White" ItemStyle-BorderColor="White"/>

 

 

 

<telerik:TreeListBoundColumn DataField="Test" UniqueName="Test"/>

 

 

 

 

</Columns>

 

 

 

 

</telerik:RadTreeList>

My problem is when I expand the node I feel the page flickering.How to avoid this flickering (postback) feeling?

Thanks

Sindu

 

Princy
Top achievements
Rank 2
 answered on 23 May 2014
6 answers
1.0K+ views
Hi,

When resizing a column by increase to the right, it reduce left columns size.
Is there any way to freeze the left columns or at least one column during resize?
Galin
Telerik team
 answered on 23 May 2014
1 answer
151 views
I am inserting a large csv into a db and would like to keep track of the progress. During the insert of the csv I update an additional progress table with the total and current row count. Is there anyway for me to update the progressarea while the csv data is being inserted with a query to the progress table? I've tried to just add a query the custom progressarea demo but can seem to get both to run at the same time. Any help or suggestions on a different approach would be well appreciated.

Thanks
Peter Filipov
Telerik team
 answered on 23 May 2014
10 answers
261 views
Hello Telerik Team,

I need ur help please, my team and I have an issue with the RadMenu,  sometimes when we enter to our web app the RadMenu doesnt show the child Ă­tems when hover it, instead puts a "#" at the end of url  and after that none of the menĂº buttons Works, we have to close the tab and enter again to the site in order to make it work, how can we fix this? we have tried using the property ClickToOpen="True" but still doesnt work. Our dlls versiĂ³n is 2013.3.1324.45 and this happens with IE 10 or 11 and sometimes with Chrome.


Also I got another question, we want to use the menĂº on IE 7 is there any chance that exists compatiblity or some property to make it work with that versiĂ³n?.

I attached an image in order to be more clear about the issue we are having .

Thanks in advance.

Kind Regards

Charles Pine









Boyan Dimitrov
Telerik team
 answered on 23 May 2014
1 answer
73 views
I need to find the selected index change event of the combobox created by binding the resourcetype in radscheduler. 
I need this event because I want to implement cascading functionality on 2 or more resourcetypes. 

A little help with an example would be great. 

Thanks in advance. 
Plamen
Telerik team
 answered on 23 May 2014
1 answer
149 views
Hi,

I have numerous multiline RadTextBox controls that are not displaying a new line.
I have no problems with Firefox or Chrome.

Let me make it clear that I CAN enter new lines into these fields and they display fine at that point in time.
It's only after I save the record and subsequently open it again (in a RadWindow) that the carriage returns are not honoured.
I am retrieving the data using a web service, and updating the field using the following statement:

$find("<%=txtDesc.ClientID%>").set_value(note);

The value is obviously being stored in the database correctly since Firefox and Chrome display the content correctly.

Here's the declaration of the textbox:

<telerik:RadTextBox ID="txtDesc" MaxLength='<%# (int)Session["MaxMultiLineSize"] %>'
                                runat="server" Width="450px" Rows="7" TextMode="MultiLine" onkeydown="KeyDownMultiLine(this,event)"
                                ToolTip="Provide a detailed description for this Note" Enabled='<%# (Boolean)Session["EditProcess"] %>'>
                            </telerik:RadTextBox>

In case you're wondering the onkeydown handler simply enables my Save button if the user makes any changes to this control.  I tried removing it just in case it might have something to do with the problem, but the incorrect behaviour continued.

Any suggestions on how to get this to work properly.

Thanks in advance.

Jim
Viktor Tachev
Telerik team
 answered on 23 May 2014
1 answer
150 views
I have a asp page containing a linkbutton.  When it is clicked, the server side behind code will retrieve some text from database. Then display it in a div block inside a RadWindow.

The issue was that when the RadWindow was popped up for the first time by clicking the button, ABC was displayed . When you clicked the button again, the retrieved text was displayed. Could anyone help? Thanks!

Below is the code:

The linkButton behind code:

protected void button1_Click(object sender, EventArgse) {
       String text = retrieve(...);
       string script = string.Format("showResult (\"{0}\");",text);  
       RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(script);
}

js code:

var rwNoneEditable = '<%=rwNoneEditable.ClientID%>'
function showResult (text) {
    $("#carInfo").html(text);
    alert($("#carInfo").html());//show the text
    var radW = $find('<%=rwNoneEditable.ClientID%>');
    radW .show();
}

RadWindow asp:

<asp:UpdatePanel ID="upNoneEditable" runat="server" UpdateMode="Conditional" RenderMode="Inline">
    <ContentTemplate>
    <telerik:RadWindow ID="rwNoneEditable" runat="server" Modal="true" Behaviors="Close, Move, Resize"
        VisibleStatusbar="False" Width="700px" Height="600px" VisibleTitlebar="True" Title="Test" >
        <ContentTemplate>
            <div id="carInfo" style="overflow: scroll; width: 100%; height: 100%;" visible="true">
                    ABC
            </div>
        </ContentTemplate>
    </telerik:RadWindow>
    </ContentTemplate>
 </asp:UpdatePanel>
Marin Bratanov
Telerik team
 answered on 23 May 2014
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?