Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
422 views
I am getting:

Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)

When my ASP.NET app is loading.  This happens both in Visual Studio 2008 and when I try to run the Live examples. I am running Windows 2008 but VS2008 is running under an administrator account and I do have full permissions to the directory. Any ideas?

Andy
Top achievements
Rank 2
 answered on 01 Dec 2011
3 answers
103 views
I'm having issue with my dropdownlist after I DataBind and then I use the dropdownlist.Items.Insert(0,"Testing") doesn't show up in my DataGrid.

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx

For example the EmployeeDetailsCS.ascx.cs in the
        protected void EmployeeDetails_DataBinding(object sender, System.EventArgs e)
        {
            ArrayList tocs = new ArrayList(new string[] { "Dr.", "Mr.", "Mrs.", "Ms." });

            ddlTOC.DataSource = tocs;
            ddlTOC.DataBind();
            //issue here
            ddlTOC.Items.Insert(0,"Testing");
            // or ddlTOC.Items.Insert(0,"Please select Title");

            object tocValue = DataBinder.Eval(DataItem, "TitleOfCourtesy");

            if (tocValue == DBNull.Value)
            {
                tocValue = "Mrs.";
            }
            ddlTOC.SelectedIndex = tocs.IndexOf((string)tocValue);
            ddlTOC.DataSource = null;
        }
Paul
Top achievements
Rank 1
 answered on 01 Dec 2011
5 answers
196 views
In your exemple TabStrip / Unique Tab Appearance.
How do i get in Page_Load / codebehind (vb) that i have click on RadPageView4 (Robertina)?
Bozhidar
Telerik team
 answered on 01 Dec 2011
1 answer
113 views
I have a radeditor as follows:

<telerik:RadEditor ID="Editor" runat="server" >
                    <Content>
                    
                    </Content>
                    <ImageManager DeletePaths="~/Images/EmailImages" UploadPaths="~/Images/EmailImages" ViewPaths="~/Images/EmailImages" />
                </telerik:RadEditor>


The image editor works great when the site is accessed from local network; however, when accessed from the internet, the radeditor  works, but NOT the IMAGE editor. It shows the error attached "Error Code: 500 Internal Server Error. The request was rejected by the HTTP filter". Doing further research, I found out that the http filter is done by the ISA server which is in fact my case. The IIS server is sitting behind an ISA Server. Somebody was having a similar issue with the radspell here: http://www.telerik.com/community/forums/aspnet/spell/isa-server-2004-and-radspell.aspx. Thus, I'd like to know if there is a work around for the image editor to avoid http filter (most likely the "Verify Normalization" http filter)

Thanks


Pablo
Top achievements
Rank 1
 answered on 01 Dec 2011
1 answer
94 views
Greetings, the filter rad control is a very powerful control, yet it's not intuitive for the "not so savvy" users.
Is it possible to customize the control to be able to create a look/behavior similar to the one in the attached images.
the customization I'm refering to would be things such as the position of the "add filter" the combo dropdown, etc...
Mira
Telerik team
 answered on 01 Dec 2011
1 answer
144 views
Hi friend,

I have used Radio button in Gridtemplate column.This radio button is correctly working only in IE and firefox and its not working in Chrome.
This my code for grid template column...
 <telerik:GridTemplateColumn UniqueName="TemplateEditColumn" AllowFiltering="false">
             <ItemTemplate>
                    <asp:RadioButton ID="chkAdd" ToolTip="Use Location as billing address" EnableViewState="true"
                                                                                    Height="18px" BorderWidth="0px" runat="server" GroupName="RegularMenu" AutoPostBack="True"
                                                                                    OnCheckedChanged="chkAdd_CheckedChanged" Checked="False" />
                </ItemTemplate>
  </telerik:GridTemplateColumn>

observe the image i have attached here..so that you can get some idea..
please help me.


Best Regards & Thanks
Anwar
Maria Ilieva
Telerik team
 answered on 01 Dec 2011
1 answer
194 views
I have several RadGrids which I'm modifying programatically so that....
 
If the user clicks "Edit", ShowAddNewRecordButton is set to 'False' and I rebind the grid.
If the user clicks "Add New Record", e.Item.Edit is set to 'False' and I rebind the grid.

In effect, this means that the user cannot access the 'edit' and 'add new' forms at the same time.  Only one can ever be open.  I do this for a couple of reasons. 

Firstly, if the user tries to add a record AND edit a record (both the 'add new' and 'edit' forms are open simultaneously), if the user tries to submit the edited record first, the validation on the 'add new record' form fires - preventing the edit from occuring. 

Secondly, I have controls which I want to appear when the user adds a new record, but I want hidden when they edit a record.  I've been able to program the grid to hide the controls If the user edits a record, BUT if the user edits a record THEN clicks the 'adds new' button (whilst the edit form is still expanded), the controls show in both the add new AND - unfortunately - the edit forms.

By controlling access to the "Edit" and "Add New" forms so only one can be open at any one time, this resolves the above issues.  Unfortunately, I have a DetailTable which I'm also trying to program to behave the same way but I don't know how to reference the ShowAddNewRecordButton value when it's within a DetailTable.  Also, when I rebind the grid, it loses the expanded row (which you'd expect).  Any ideas?  My code is below...

Protected Sub rdgRiskType_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rdgRiskType.ItemCommand

    'If user inserts a new Risk Type record, set 'edit' mode to false and rebind (all 'edit' forms will be minimised).
    If e.CommandSource.Text = "Add New Risk Type" Then
        e.Item.Edit = False
        rdgRiskType.Rebind()
    End If

    'If user edits a Risk Type record, hide the 'Add New xxx' button (user can't then add a new record whilst an edit form is maximised).
    If e.CommandSource.Text = "Edit" Then
        rdgRiskType.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = False
        rdgRiskType.MasterTableView.IsItemInserted = False
        rdgRiskType.Rebind()
    End If

    'If user inserts a new Risk record, set 'edit' mode to false and rebind (all 'edit' forms will be minimised).
    If e.CommandSource.Text = "Add New Risk" Then

    End If

    'If user edits a Risk record, hide the 'Add New xxx' button (user can't then add a new record whilst an edit form is maximised).
    If e.CommandSource.Text = "Edit Risk" Then

    End If

End Sub

Antonio Stoilkov
Telerik team
 answered on 01 Dec 2011
5 answers
147 views
Hi all,

Very simple.  I am binding the RadCombo in markup and code-behind as follows.  So, when the user selects a value in the RadComboBox that contains an apostrophe, some javascript exception is thrown and the server-side postback event handler is never invoked.  We are using version 2011.2.712.35.

Please help.

Thank you,

Dan

 Markup:

 

<td>

 

 <telerik:RadComboBox ID="request__place_id" CssClass="LabelValue" AutoPostBack="true"

OnSelectedIndexChanged="request__place_idSelectedIndexChanged"

runat="server">

 

</telerik:RadComboBox>

 

 </td>


Code-behind:

 

var values = from info in result.Descendants("place")

 

select new

{

    PlaceId = info.Element(

"place_id"),

    Name = info.Element(

"name")

};

 

this.request__place_id.Items.Clear();

 

this.request__place_id.Items.Add(new RadComboBoxItem(string.Empty, string.Empty));

 

foreach (var value in values)

    this.request__place_id.Items.Add(new Telerik.Web.UI.RadComboBoxItem(value.Name.Value, value.PlaceId.Value));

}

Ivana
Telerik team
 answered on 01 Dec 2011
1 answer
111 views
I want to know a Telerik's scaffold control. I have seen Subsonic's scaffold control that has TableName property and it displays form according to that database table, it creates  list/edit/add/delete forms at runtime. 
Please note I don't want to use MVC.
Sebastian
Telerik team
 answered on 01 Dec 2011
6 answers
2.4K+ views
My colleague started on Telerik a few weeks ago. I am about to try and get up to speed. He gave me a project which I have set up with data on my workstation. We got Telerik, MM.NET and its Telerik subclasses installed, and figured out how to manually browse to the Telerik.Web.UI file i the Telerik install location.

However, I had downloaded a slightly later version of Telerik, Version=2010.2.929.35, from our shared account. The SP.NET app still had one reference error, and if we tried run it it would barf on the web.config file saying it could not find the Telerik.Web.UI.

My colleague showed me an email or exchange on forum from Telerik saying that for a the version in question, you could get the PublicKeyToken from the xml file.

We are using .NET 3.5 version, so in the \35 folder, I verified the version number in the properties of the Telerik.Web.UI.dll as 2010.2.929.35.

However, in the Telerik.Web.UI.XML, the only reference to a PublicKeyToken was in these two lines:

            <example>
                <code lang="CS" title="C#">
            spell1.CustomDictionarySourceTypeName = "RadSpellExtensions.CustomDictionarySource, RadSpellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b5e57ccb698eab8e";
                </code>
                <code lang="VB" title="VB">
            spell1.CustomDictionarySourceTypeName = "RadSpellExtensions.CustomDictionarySource, RadSpellExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b5e57ccb698eab8e"
                </code>
            </example>


Naturally, the value there when placed in the web.config file did NOT solve the problem.

On another thread here

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/telerik-web-ui-radchart-is-not-defined.aspx

we found a reference to the version number, and a PublicKeyToken:

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2010.2.929.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>


so for the heck of it, we tried it in the web.config, and the program fired up.

So the question is, where are we SUPPOSED to be able to get the correct PublicKeyToken for a version of the .dll??

It is clearly not in the xml file in the \35 folder with this version.
Peter
Top achievements
Rank 1
 answered on 01 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?