Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
278 views
Hi All

I have developed a web app using a webservice. Everything works fine in the development environment. I have moved the webservice to the production server in a test folder behind my main website. I can browse to the published service localy on the production server and i can access the remote service from my development machine.

If I run my web app in my development environment I can use the remote webservice no problem. If I move the web application to the production environment the browser outputs this error when the application performs the ajax login method.

The following javascript error is output to the browser
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.

The status code returned from the server was: 500
Source File: http://www.grav80.com/clients/callswharf/Redshift/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3a16e4e7cd%3a86526ba7%3aed16cbdc%3ab7778d6c
Line: 15

The Following error appears in the event log

Exception information: 
    Exception type: WebException 
    Exception message: Unable to connect to the remote server 
 
Request information: 
    Request URL: http://www.grav80.com/clients/callswharf/redshift/login.aspx 
    Request path: /clients/callswharf/redshift/login.aspx 
    User host address: 77.68.58.231 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

You can view the behaviour in the test environment here.

You can view the service here 

Simon Child
Top achievements
Rank 1
 answered on 30 Mar 2010
2 answers
122 views
I see in the demo of the Grid control has a "3D" skin. Is this available?
Dan Linehan
Top achievements
Rank 1
 answered on 30 Mar 2010
6 answers
125 views
Hi,

I am trying to interact with the calendar control server side (c#)

I collect a number of dates from a database and alter the styling of these date cells. The dates from the database are "busy" dates.

So far I have managed to modify the background colour and fore colour of these cells but am unable to

1. Disable these dates completely so that they do not respond to a mouse click
2. Stop the hover style appearing when they mouse is hovered

Ideally I would like to:

1. Disable particular dates and set their styles on the server side
2. Set individual styling on particular days (like colour, hover style etc)

I am finding it particularly frustrating that there seems to be no server side ability to iterate through the dates and set individual css properties on an individual basis.

Please could you let me know if what I am trying to achieve is possible?

Thanks in advance.
Ben White
Top achievements
Rank 1
 answered on 30 Mar 2010
1 answer
88 views
Hello,telerik.
I met 2 questions where I start with Telerik.
1. How to scroll the position I want in Telerik grid?
For example: After I add new record to the table ,I return the grid list where I want  scrolling the position row i just added.
I look the help example implementing in the client side.how to implement in the server side?
2. About telerik schedule.
In scheduler , the editing form shows when I click the Appoinment.
In my project, Requirement is  Showing the detail form of the appointment that can not be  edited when I click the appointment
in scheduler.How can I do?

Please help me,thanks.
Carl
Top achievements
Rank 1
 answered on 30 Mar 2010
3 answers
180 views
Hello guys.

I have a GridDropDownColumn that is binded in needDataSource event. The GridDropDownColumn's properties is show below:

<telerik:GridDropDownColumn DataField="A017_dsc_tip" HeaderText="Tipo" ListDataMember="T017_tipo_telefone" 
SortExpression="A017_dsc_tip" ListTextField="A017_dsc_tip" ListValueField="A017_dsc_tip" UniqueName="A017_dsc_tip"
</telerik:GridDropDownColumn> 

Using the column like this, I have no problem with my grid, and I have some like:

Grid correct

but, I can't take the "ID" of the item, and when in editmode, I can't set the current item correctly. If I change the ListValueField to the correct data field I have some like this:

Grid incorrect

my server code is below:

protected void gdvTelefone_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
        { 
            GridEditableItem editedItem = e.Item as GridEditableItem; 
            GridEditManager editMan = editedItem.EditManager; 
 
            //Setando o dropdownlist dos tipos de telefone 
            GridDropDownListColumnEditor A017_dsc_tip = editMan.GetColumnEditor("A017_dsc_tip"as GridDropDownListColumnEditor; 
            string selectedValue = A017_dsc_tip.SelectedValue; 
            ObjectQuery<T017_TIPO_TELEFONE> query = entities.T017_TIPO_TELEFONE; 
            A017_dsc_tip.DataSource = query.AsQueryable(); 
            A017_dsc_tip.DataTextField = "A017_dsc_tip"
            A017_dsc_tip.DataValueField = "A017_cod_tip"
            A017_dsc_tip.DataBind(); 
            A017_dsc_tip.SelectedValue = selectedValue; 
        } 
    } 

What it not work? I'm following this thread:

http://www.telerik.com/community/forums/aspnet-ajax/grid/binding-programmatically.aspx

Thanks in advance.

Regards.
Simon
Telerik team
 answered on 30 Mar 2010
3 answers
78 views
Hey everyone,

I believe there is a current bug in the RadComboBox control.  We are currently using the Q3 2009 release of ASP.Net ajax Telerik controls and a client has reported seeing 404 errors through their request debugger.  After resolving the WebResource.axd call, this file is pTelerik.Web.UI|Telerik.Web.UI.Skins.Vista.ComboBox.rcbSprite.gif.

After searching the installed source code, I came up with no results for this file.  However, in previous versions, this file exists in some older skins.  We also do not seem to reference this file directly or through a WebResource call in our own app.  Is it possible that this file was deprecated in current releases but a bad reference still exists in the Vista skin?  Or is it more likely that it is a configuration issue on our part?  As an aside, we set the skins of most of our Telerik controls, including the RadComboBox, through a StyleSheetSkin.

Thanks so much,
Adam.g
Simon
Telerik team
 answered on 30 Mar 2010
4 answers
111 views
Hi guys !

I tried to use this example : http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx
but I have some difficulties to make it work... :(

The principle is the same :
    - I have a radGrid with 4 ComboBox columns and 1 textBox Column
   - I have a form that I want to complete when I select a row of the radGrid

<telerik:RadGrid ID="invRadGrid" runat="server" Skin="WebBlue" Width="100%" Height="200px" 
                        OnRowDrop="invRadGrid_OnRowDrop" AllowMultiRowSelection="true" CssClass="grid">   
                        <PagerStyle  Mode="NumericPages"/>                       
                        <MasterTableView ShowHeadersWhenNoRecords="true"
                            <Columns> 
                                <telerik:GridTemplateColumn UniqueName="TemplateName" AllowFiltering="false" Reorderable="false"
                                    <ItemTemplate> 
                                        <asp:DropDownList ID="name" runat="server" width="100%" Enabled="false"/> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn UniqueName="TemplateType" AllowFiltering="false" Reorderable="false" > 
                                    <ItemTemplate> 
                                        <asp:DropDownList ID="type" runat="server" width="100%" Enabled="false"/> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn UniqueName="TemplateObligatory" AllowFiltering="false" Reorderable="false"
                                    <ItemTemplate> 
                                        <asp:DropDownList ID="obligatory" runat="server" width="100%" Enabled="false"/> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn UniqueName="TemplateUnicity" AllowFiltering="false" Reorderable="false" > 
                                    <ItemTemplate> 
                                        <asp:DropDownList ID="unicity" runat="server" width="100%" Enabled="false"/> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn UniqueName="TemplateDefault" AllowFiltering="false" Reorderable="false"
                                    <ItemTemplate> 
                                        <asp:TextBox ID="default" UniqueName="defaultTextBox" Text='<%# Eval("TemplateDefault") %>' 
                                                    runat="server" Width="100%" Enabled="false"
                                        </asp:TextBox> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                               
                            </Columns> 
                        </MasterTableView> 
                        <ClientSettings  AllowRowsDragDrop="True"
                            <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" /> 
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"  /> 
                            <ClientEvents OnRowClick="rowClick"  /> 
                        </ClientSettings> 
                    </telerik:RadGrid> 

<div  style="border: 1px solid threedshadow; margin-left:10px; margin-right:10px;"
            <table width="100%" cellpadding="5px"
                <tr> 
                    <td width="15%" align="right"
                        <asp:Label ID="nameLabel" runat="server" meta:resourcekey="nameLabelResource" />                         
                    </td> 
                    <td width="55%"
                        <telerik:RadTextBox ID="nameTextBox" runat="server" Width="100%" /> 
                    </td> 
                    <td width="30%" align="right"
                        <asp:Button ID="saveChangesButton" Style="color: black; font-weight: bold;" 
                            meta:resourcekey="saveChangesButtonResource" runat="server" /> 
                        <asp:Button ID="deleteButton" Style="color: black; font-weight: bold;" 
                            meta:resourcekey="deleteButtonResource" runat="server" /> 
                    </td> 
                </tr> 
                 
                <tr> 
                    <td align="right"
                        <asp:Label ID="typeAttributesLabel" runat="server" meta:resourcekey="typeLabelResource" /> 
                    </td> 
                    <td align="left"
                        <telerik:RadComboBox ID="typeAttributesDropDownList" runat="server" width="40%"/> 
                        &nbsp;&nbsp;&nbsp; 
                        <asp:RadioButtonList ID="typeAttributesRadioButtonList" runat="server" width="48%" /> 
                    </td> 
                </tr> 
                 
                <tr> 
                    <td  align="right"
                        <asp:Label ID="defaultValueLabel" runat="server" meta:resourcekey="defaultValueLabelResource" /> 
                    </td> 
                    <td> 
                        <asp:TextBox ID="defaultValueTextBox" runat="server" width="100%"/> 
                    </td> 
                </tr> 
            </table> 

In fact I would like to know first where is definied
MyWebService.GetEmployeeByEmployeeID(employeeID, setValues) 

Jean
Top achievements
Rank 1
 answered on 30 Mar 2010
5 answers
271 views
hi all,

After I upgraded to Q1 2010 the pager position is not working. 

It actually works on first load but after expanding (ajax postback), one row in the grid, the pager appears both at the bottom and top of the grid, but is set to show just at the bottom.  

It seems to be working correctly if AlwaysVisible is set to false but as I have custom pager that shows the time and more that is not a option to set too false.
This setting worked before the update:
<PagerStyle Mode="NumericPages" BackColor="White" Position="Bottom" AlwaysVisible="true" />

Any ideas of what is wrong or have a workaround?

Pavlina
Telerik team
 answered on 30 Mar 2010
3 answers
154 views
Dear,
 i want to ask how i can (if i can ) change file attachment size.

Regards,
Dimo
Telerik team
 answered on 30 Mar 2010
2 answers
109 views
i am using radeditor for storing comments in Database.
but in Mozilla Firefox it stores blank content while in IE6+ working successfully.

Plz. Help to solve this bug.
Rumen
Telerik team
 answered on 30 Mar 2010
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?