Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
124 views

i have a serious problem.

I have a combobox in a webform. everything works fine locally. When the project is published i can't click on the combobox to display the various items. It more or less looks like a basic textbox....

This is my code:

<html>
<head>
    <title></title>
    <style id="Style1" type="text/css" runat="server">
        td
        {
            vertical-align: top;
        }
        input.RadUploadSubmit
        {
            margin-top: 20px;
        }
 
        #RadUpload1
        {
            width: 355px;
        }
    </style>
    <script type="text/javascript">
 
        function CloseWindow() {
            var oManager = GetRadWindowManager();
            var oWnd = oManager.GetWindowByName("RadWindow1");
            oWnd.Close();
 
        }
 
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
 


        function CloseDialog() {
            GetRadWindow().close();
            return true;
 
 
        } 
 
    </script>
</head>
<body>
    <form runat="server" id="Form1">
    <%--method="post" enctype="multipart/form-data"--%>
    <div id="formulaire">
        <center>
            Ticket : <b>
                <asp:Label ID="TicketFamille" runat="server"></asp:Label></b></center>
                <asp:Label runat="server" ID="lblERROR" Visible="false"></asp:Label>
        <table cellpadding="5px" cellspacing="2px">
            <tr>
                <td width="200px" align='right'>
                    <asp:Label ID="lblTitre" runat="server" Text="Titre"></asp:Label>
                     :
                </td>
                <td>
                    <telerik:RadTextBox ID="txtTitre" runat="server" Skin="Telerik" Width="250">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                        ForeColor="Red" ControlToValidate="txtTitre" ValidationGroup="validationincident"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align='right'>
                    <asp:Label ID="lblCategorie" runat="server" Text="Concerne : "></asp:Label>
                </td>
                <td>
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" AppendDataBoundItems="true"
                        OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" AutoPostBack="true">
                        <asp:ListItem Selected="True" Value="1">Projet</asp:ListItem>
                        <asp:ListItem Value="2">Sous-categorie</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td align='right'>
                    <asp:Label ID="lblSousCategorie" runat="server" Text="Sous Categorie :"></asp:Label>
                </td>
                <td>
                    <telerik:RadComboBox ID="cbSousCategorie" runat="server" Skin="Telerik">
                    </telerik:RadComboBox>
                </td>
            </tr>
            <tr>
                <td align='right'>
                    <asp:Label ID="lblProjet" runat="server" Text="Projet : "></asp:Label>
                </td>
                <td>
                    <telerik:RadComboBox ID="cbProjet" runat="server" DataTextField="nomProjet" DataValueField="idProjet"
                        Skin="Telerik">
                    </telerik:RadComboBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                        ForeColor="Red" ControlToValidate="cbProjet" ValidationGroup="validationincident"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align='right'>
                    <asp:Label ID="lblDescription" runat="server" Text="Description : "></asp:Label>
 
                </td>
                <td>
                    <telerik:RadTextBox ID="txtDescription" runat="server" TextMode="MultiLine" Width="250"
                        Height="100" Skin="Telerik">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                        ForeColor="Red" ControlToValidate="txtDescription" ValidationGroup="validationincident"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align='right'>
                    Joindre un fichier :
                </td>
                <td>
                    <br />
                    <telerik:RadUpload ID="RadUpload1" runat="server" MaxFileInputsCount="5" Skin="Telerik">
                        <Localization Add="Ajouter" Clear="Vider" Delete="Supprimer" Select="Parcourir" />
                    </telerik:RadUpload>
                    <br />
                    <asp:Repeater ID="reportResults" runat="server" Visible="False">
                        <HeaderTemplate>
                            Fichiers attachés:<br />
                        </HeaderTemplate>
                        <ItemTemplate>
                            '<%#DataBinder.Eval(Container.DataItem, "FileName")%>' ( '<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>'
                            )<br />
                        </ItemTemplate>
                    </asp:Repeater>
                    <%--<asp:Button ID="buttonSubmit" CssClass="RadUploadSubmit" OnClick="buttonSubmit_Click"
        runat="server" Text="Joindre le fichier" />--%>
                    <br />
                    <%--<asp:Label ID="labelNoResults" runat="server" Visible="True">Pas de fichier joint pour le moment</asp:Label>--%>
                    <br />
                </td>
            </tr>
            </table>
        <asp:HiddenField runat="server" ID="HiddenFieldIdContact" />
                    <center><asp:Button ID="Button1" runat="server" Text="Soumettre ce ticket" OnClick="Button1_Click"
                        OnClientClick="if(Page_ClientValidate()) CloseDialog()" UseSubmitBehavior="false"
                        ValidationGroup="validationincident" /></center>
    </div>
    <center>
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        </telerik:RadScriptManager>
    </center>
    </form>
</body>
</html>
Thanks again for your help !!! 
NB: i have the same problem with the RadUpload control.

Dimitar Terziev
Telerik team
 answered on 05 Apr 2012
1 answer
118 views
We added text box in grid header, so user can change the grid header name but when we press the mouse to seleting the grid header text box text and then move mouse to out side the text box.   it thow java script error - "Microsoft JScript runtime error: 'offsetWidth' is null or not an object"
We have underneath seeting for RadGrid : -
 <telerik:RadGrid ID="grdAllTelerik"
                            ShowFooter="true" Skin="Office2010Silver"
                            runat="server" AutoGenerateColumns="false" Width="100%" OnItemCreated="grdAll_RowCreated"
                            OnItemDataBound="grdAll_ItemDataBound" OnNeedDataSource="grdAllTelerik_NeedDataSource">
    <ClientSettings>
        <Resizing AllowResizeToFit="true" ResizeGridOnColumnResize="true" AllowColumnResize="true">
        </Resizing>                                
    </ClientSettings>                           
</telerik:RadGrid> 

if(this._owner._owner._isResize){return;
}var h=Telerik.Web.UI.Grid.GetCurrentElement(g);
var f=Telerik.Web.UI.Grid.GetFirstParentByTagName(h,"th");    ---->  f is null
var a=Telerik.Web.UI.Grid.FindPosX(h);
var c=!!this._owner._owner.ClientSettings.AllowDragToGroup&&this._data.Groupable;
var d=!!this._owner._owner.ClientSettings.AllowColumnsReorder&&this.get_reorderable();
if(c||d){this.get_element().title=this._owner._owner.ClientSettings.ClientMessages.DragToGroupOrReorder;
this.get_element().style.cursor="move";
}if(this._owner._owner.ClientSettings.Resizing.AllowColumnResize&&this.get_resizable()&&Telerik.Web.UI.Grid.GetEventPosX(g)>=(a+f.offsetWidth-5)&&!Telerik.Web.UI.Grid._moveHeaderDiv){this._canDragDrop=false;
}if(this._owner._owner.ClientSettings&&this._owner._owner.ClientSettings.Resizing.AllowColumnResize&&this.get_resizable()&&this.get_element().tagName.toLowerCase()=="th"){var h=Telerik.Web.UI.Grid.GetCurrentElement(g);
if(this._owner._owner.GridDataDiv&&!this._owner._owner.GridHeaderDiv&&!window.netscape){var b=0;
Pavlina
Telerik team
 answered on 05 Apr 2012
5 answers
407 views
I saw in my account today that user's permissions in Telerik licenses can be setup such that the support tickets can be shared. 
I didn't find anywhere how to share the tickets though. 

Is there a knowledge base article regarding this?

Pratik
Georgi Tunev
Telerik team
 answered on 05 Apr 2012
0 answers
102 views
Hi i have 2 websites..in one hosting i have wwroot folder where telerik controls are working properly
whereas in my other hosting server they have given as httpdocs & there telerik controls are not working

could anyone please tell me how to install telerik controls in httpdocs server
Asma
Top achievements
Rank 1
 asked on 05 Apr 2012
1 answer
84 views
Hi there.
I've used Rad grid in my project and I have a problem with Hierarchical grid.
I have 3 hierarchies in my grid like this:

level-1
--------Level-2
-----------------Level-3

so as I read this link: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx
all of data will be bind once.
I want to bind my SP by click
for instance I have my Level-1 which is bind in form_Load.
after clicking on + I want to fire my second SP to expand Level-2.
and after click on + in Level-2,I want to fire 3rd SP to expand Level-3.
I don't want to bind all of SPs once (I mean in form_load).
any idea?
Tsvetina
Telerik team
 answered on 05 Apr 2012
3 answers
212 views
I have a web page that has a series of dropdown controls (12 total). As the user enters/selects a value, they can tab to the next dropdown. When they tab out a dropdown that doesn't have a value (any of the 12), I want the focus to go to a data grid - first row - third cell. The following code, when looking via quick watch, confirms I have the correct row and cell based on the rendered ID when viewing the source. What ends up happing is the focus goes to the second row - first cell. What am I doing wrong?

var masterTable = $find("<%= dgServices.ClientID %>").get_masterTableView();
if (masterTable != '') {
    masterTable.get_dataItems()[0].get_element().cells[2].focus();

The attached jpg shows the flow I want to accomplish.
Antonio Stoilkov
Telerik team
 answered on 05 Apr 2012
1 answer
136 views
Hi

        In my aspx page I have a usercontrol. In this UserControl I have a PanelBar with four  panel items. Each panel items contains different usercontrol ( ASCX ).  In the panel item click I have loaded the usercontrol dynamically in the corresponding panel item. In my page load I have expanded the first panel item as default.  When  i click the second panel item the usercontrol for this panel item  will be loaded but the script inside this usercontrol is not working. Please give any solution for this problem.
Eyup
Telerik team
 answered on 05 Apr 2012
1 answer
174 views
In your documenation for the RadEditor on the following pages, there is a typo.  Each page contains the text "heigh", but is supposed to be "height".

http://www.telerik.com/help/aspnet-ajax/editor-resizing-dropdown-header-and-popup-size.html
http://www.telerik.com/help/aspnet-ajax/editor-auto-resize-height-expanding-editor-height.html
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
1 answer
93 views
I posted a problem in the grid forum, it was deleted, so i guess this is the correct place.
Can you help me run the radgrid on wss 3?
from what i saw the problem is in the scripts in webresource.axd - got
"_events is undefined" on page load and subsequently the grid is missing in the sys.application.components collection.
which in turn breaks the expand/collapse functionality - AJAX $find doesn't find it.
I can provide sample config and source - but they're basically the same as in the self-hierarchy demo, save for
the data bind functionality.
Marin
Telerik team
 answered on 05 Apr 2012
15 answers
751 views
I have a MasterPage where I have added a RadNotification and a RadAjaxManager.

I then have many ContentPages and UserControls where I am using RadAjaxManagerProxy.

I have written a class to handle the RadNotification so that I can send message from anywhere in the app using the RadNotification on my MasterPage.

The problem is I have to add the RadNotification to every since AjaxSetting in the UpdateControls.  If I don't do this, when I call the show() method, it just displays a blank RadNotification in the bottom corner of my screen (I am assuming it is using the default settings).

Is there any way to tell the Master RadAjaxManager, "Hey if ANY RadAjaxManagerProxy causes an async postback, update the RadNotification object as well."
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
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?