Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
138 views

Hello Telerik Team,

I have an very strange behavior happenin...

I have this ajaxsettings

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="Order_Type">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="suggestionsCb" LoadingPanelID="AjaxLoadingPanel1">

 

 

 

 

 

</telerik:AjaxUpdatedControl>

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

for some reason when I change the "order_type" (which is a radcombobox) 2 times in a row and the "suggestionsCb" gets updated (which is also another radcombobox) each time, on the 2nd time the "suggestionsCb" textbox is disable, the user have to click on the arrow in order to put custom text in the box

Let me know if you need more detail

Regards

 

Veselin Vasilev
Telerik team
 answered on 09 Mar 2010
1 answer
124 views
Hi

how can i make the grid spread over the whole page instead of just half?

thanks

D

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="scrollbar.aspx.vb" Inherits="scrollbar" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
    </div> 
    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None">  
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="ProductID" DataSourceID="SqlDataSource1">  
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" HeaderText="ProductID" 
                    ReadOnly="True" SortExpression="ProductID" UniqueName="ProductID">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" SortExpression="ProductName" 
                    UniqueName="ProductName">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="SupplierID" DataType="System.Int32" HeaderText="SupplierID" 
                    SortExpression="SupplierID" UniqueName="SupplierID">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="CategoryID" DataType="System.Int32" HeaderText="CategoryID" 
                    SortExpression="CategoryID" UniqueName="CategoryID">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="QuantityPerUnit" HeaderText="QuantityPerUnit" 
                    SortExpression="QuantityPerUnit" UniqueName="QuantityPerUnit">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UnitPrice" DataType="System.Decimal" HeaderText="UnitPrice" 
                    SortExpression="UnitPrice" UniqueName="UnitPrice">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UnitsInStock" DataType="System.Int16" HeaderText="UnitsInStock" 
                    SortExpression="UnitsInStock" UniqueName="UnitsInStock">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UnitsOnOrder" DataType="System.Int16" HeaderText="UnitsOnOrder" 
                    SortExpression="UnitsOnOrder" UniqueName="UnitsOnOrder">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="ReorderLevel" DataType="System.Int16" HeaderText="ReorderLevel" 
                    SortExpression="ReorderLevel" UniqueName="ReorderLevel">  
                </telerik:GridBoundColumn> 
                <telerik:GridCheckBoxColumn DataField="Discontinued" DataType="System.Boolean" HeaderText="Discontinued" 
                    SortExpression="Discontinued" UniqueName="Discontinued">  
                </telerik:GridCheckBoxColumn> 
                <telerik:GridBoundColumn DataField="CategoryName" HeaderText="CategoryName" SortExpression="CategoryName" 
                    UniqueName="CategoryName">  
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings> 
            <Scrolling AllowScroll="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=local;Initial Catalog=Northwind;Integrated Security=True" 
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [Alphabetical list of products]">  
    </asp:SqlDataSource> 
    </form> 
</body> 
</html> 
 
Dimo
Telerik team
 answered on 09 Mar 2010
1 answer
165 views
I noticed that the File Explorer Control allows you to upload a file by right clicking on a folder, but you can right click on a folder other than the one currently selected.
If you do so, the file will be uploaded to the selected folder rather than the one you right clicked on. This seems like a bug. If I have an option to perform an action by right clicking on an item, that action should be performed on the item that was clicked, whether it is the selected item or not.

Using your client-side events example, select the Customers folder (Once you do so, it will be highlighted in blue.). Then right click on the Products folder and select upload. Upload a file and note the location it uploads into. It uploads into the Customers folder, not the Products folder as I would have expected.

If I right click on the products folder and select upload, the document should be uploaded to the Products folder.

Telerik, can you please advise on this issue.

If i right click on a folder in windows explorer, it becomes the selected folder. It seems like that should be what happens in the file explorer.
Fiko
Telerik team
 answered on 09 Mar 2010
1 answer
124 views
Hi,

I'm using client side insert/update/delete. When I click on any row of the grid the values of control in the edit mode doesn't change. I am referring http://www.telerik.com/help/aspnet-ajax/client-update-insert-delete.html of the demo. The only difference is instead of webservice I'm using codebehind method to get the selected row detail. using alert I checked that the values coming after row selection is right. the only thing is I can not see the change in the tab.
Am I missing some event of tabs??
Yavor
Telerik team
 answered on 09 Mar 2010
1 answer
104 views
Does anyone knows if there is a problem with skinning the SiteMap? I have simple page

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

<title></title>

 

 

<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

<Scripts>

 

 

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />

 

 

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

 

 

</Scripts>

 

 

</telerik:RadScriptManager>

 

 

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

 

 

</telerik:RadAjaxManager>

 

 

 

<telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Black"

 

 

ShowChooser="True">

 

 

<TargetControls>

 

 

<telerik:TargetControl ControlID="RadSiteMap1" />

 

 

</TargetControls>

 

 

</telerik:RadSkinManager>

 

 

<div >

 

 

<telerik:RadMenu ID="RadMenu1" runat="server"

 

 

DataSourceID="RadSiteMapDataSource1"

 

 

style="top: 0px; left: 0px; height: 16px; width: 773px">

 

 

</telerik:RadMenu>

 

 

 

<telerik:RadToolBar ID="RadToolBar1" runat="server"

 

 

DataSourceID="RadSiteMapDataSource1">

 

 

</telerik:RadToolBar>

 

 

<telerik:RadSiteMap ID="RadSiteMap1" Runat="server"

 

 

DataSourceID="RadSiteMapDataSource1" ShowNodeLines="True" >

 

 

</telerik:RadSiteMap>

 

 

<telerik:RadSiteMapDataSource ID="RadSiteMapDataSource1" runat="server" ShowStartingNode="false" SiteMapFile="~/Web.sitemap"/>

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

 

 

 

 

The black skin selected seems to be working on the Menu and the Toolbar controls, but for the sitemap it does not. At least it does not work the same as on Telerik's demo site.

 

Does anyone know what am I missing or is it a bug, or what?

Genady Sergeev
Telerik team
 answered on 09 Mar 2010
6 answers
172 views
Is there some way I can control width and height of the Editor on a publish page ?



Stanimir
Telerik team
 answered on 09 Mar 2010
1 answer
96 views
How can I access RadGrid's edit form item's from private function ?

Normally we can access RadGrid edit form items in RadGrid1_ItemCreated  by writing e.item.griditemtype.edititem

Any suggestion?
Thank you.
Veli
Telerik team
 answered on 09 Mar 2010
1 answer
383 views
Hi, is there a good way to call a javascript method after the Captcha check is validated?

Im trying to add the captcha to a blog comment module. The module uses jquery to post the comment.

Thx.
Anders
Pero
Telerik team
 answered on 09 Mar 2010
2 answers
180 views

Hi


I Have Problem For Export Grid By Javascript Code . My RadGrid 100% RTL . 

 

 

 <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
        <script language="javascript">  
            var GrdPersons;  
            //  
            function GetGridObject(sender, eventArgs) {  
                GrdPersons = sender;  
                GrdPersons.get_masterTableView().hideFilterItem();  
            }  
            //  
            function HideFilter() {  
                GrdPersons.get_masterTableView().hideFilterItem();  
            }  
            //  
            function ShowFilter() {  
                GrdPersons.get_masterTableView().showFilterItem();  
            }  
            function ExportToExcel() {  
                GrdPersons.get_masterTableView().exportToExcel('RadGridExport.xls');  
            }  
            //  
            function ExportToWord() {  
                GrdPersons.get_masterTableView().exportToWord('RadGridExport.rtf');  
            }  
</script> 

 

My RadGrid Name Is : GrdPersons .

When I Click On Button For Export Shown Loading Panel And Dont Any Other Work

Please Help Me

Ali Kolahdoozan
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
159 views
I have the following structure and am getting an odd behavior.

 <telerik:RadAjaxLoadingPanel id="lpCTC" Runat="server" Transparency="30" BackColor="#E4E4E4"><asp:Image id="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/global/images/loading2.gif" style="margin-top:50px;"></asp:Image></telerik:RadAjaxLoadingPanel> 
    <asp:Panel id="pnlCTC" runat="Server">  
<telerik:radcombobox id="rcProcessConnection" runat="server" Skin="Windows7"  AutoPostBack="true" CausesValidation="false" ></telerik:radcombobox> 
<asp:Label id="Label1" runat="Server" /> 
</asp:Panel> 
<Asp:Button id="Button1" runat="Server" Text="Save" /> 
 
     

I use an Ajax Manager and have the following settings in code behind:

MyAjaxManager.AjaxSettings.AddAjaxSetting(Button1, pnlCTC, lpCTC)  
MyAjaxManager.AjaxSettings.AddAjaxSetting(rcProcessConnection, pnlCTC) 

I want the following behavior.. When the Button is clicked, a loading panel is displayed over the entire content and some processing occurs. When the Combo is selected, the label is updated through Ajax, without a loading panel.

What is happening is, the button and loading panel work fine. However, the combo selection causes the screen to "blink". A normal page refresh doesn't occur, so I know an Ajax update is occuring, however, this blink should not happen. I believe this is being caused because the panel is ajaxified by both an external control (the button), as well as an internal control (the combobox).

This is actually a stripped out example. I have many more controls than just the combo box and lable inside the panel, so I can't simply ajaxify the label with the combo box.

I tried adding a seperate inner panel inside of the outer "pnlCTC", and ajaxified that using the combo box:

 <telerik:RadAjaxLoadingPanel id="lpCTC" Runat="server" Transparency="30" BackColor="#E4E4E4"><asp:Image id="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/global/images/loading2.gif" style="margin-top:50px;"></asp:Image></telerik:RadAjaxLoadingPanel> 
    <asp:Panel id="pnlCTC" runat="Server">  
<asp:Panel id="pnlInner" runat="Server">  
<telerik:radcombobox id="rcProcessConnection" runat="server" Skin="Windows7"  AutoPostBack="true" CausesValidation="false" ></telerik:radcombobox> 
<asp:Label id="Label1" runat="Server" /> 
</asp:Panel> 
</asp:Panel> 
<Asp:Button id="Button1" runat="Server" Text="Save" /> 

MyAjaxManager.AjaxSettings.AddAjaxSetting(Button1, pnlCTC, lpCTC)  
MyAjaxManager.AjaxSettings.AddAjaxSetting(pnlInner, pnlInner) 

However, this didn't seem to make any difference.

Is there a way around this issue?

Martin
Telerik team
 answered on 09 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?