Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
470 views
<telerik:RadComboBox ID="AreaOfInterestComboBox" runat="server" AutoPostBack="false" CssClass="areaOfInterestComboBox" Skin="Bazaar" EnableEmbeddedSkins="false" OnDataBound="AreaOfInterestComboBox_ItemDataBound"> 
    <ItemTemplate> 
        <asp:CheckBox runat="server" ID="cbCategory" Text="" AutoPostBack="false" onclick="stopPropagation(event);" /> 
        <%# DataBinder.Eval(Container, "Text") %> 
    </ItemTemplate> 
</telerik:RadComboBox> 


protected void AreaOfInterestComboBox_ItemDataBound(object sender, Telerik.Web.UI.RadComboBoxItemEventArgs e) 
{ 
} 


Cant get this to work, why? I need to be able to make the CheckBoxed Checked or unchecked in the Event OnItemDataBound, Is it possible?

"Compiler Error Message: CS0123: No overload for 'AreaOfInterestComboBox_ItemDataBound' matches delegate 'System.EventHandler'"

And Visual Studio can't resolva "RadComboBoxItemDataBoundEventArgs", cant use namespace Telerik.WebControls!
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 22 Feb 2010
1 answer
125 views
Hi,


I have made a web user control (inside an ASP.NET web application) and then pasted this to a class library. I want to use telerik controls but the tagname I register in the ascx is not being recognised, and nor is the Telerik namespace (I added the Telerik.Web.UI dll as a reference to the class lib).

This is for a Sitefinity deployment. A better question is, if this does not work, what is the best way to develop controls, with Telerik Controls, for Sitefinity?


Thanks
Ivan Dimitrov
Telerik team
 answered on 22 Feb 2010
3 answers
705 views
Hello,
I'm building an application that uses RadGrid and I want to know is there a way to delete a row(and the DataItem) from the RadGrid using only JavaScript.

I.Hinov
Ivaylo
Top achievements
Rank 1
 answered on 22 Feb 2010
3 answers
315 views
I have a rad uploader with customized fields.. ( eg. description , title )

But I want to display the file name after clickin the browse button
i need to display the file name on the right side of the uploader ( client side )
there is a method of displayin all files using alert..

but I am still unable to make it work one by one..

thanks in advance
Chamira
Top achievements
Rank 1
 answered on 22 Feb 2010
1 answer
81 views
Hello!

Basically I'm following the example http://www.telerik.com/help/aspnet-ajax/grdinsertingvaluesusercontrolformtemplate.html. Editing an existing data row is ok.

What I don't want is that when I add a new record that I have to fill up the DropDownList with a dummy value that is than initially selected in the popup (like in the example and described as the codeless way under http://www.telerik.com/help/aspnet-ajax/grdinsertingvaluesusercontrolformtemplate.html last section.

So my code look like this in the aspx-File (no changes in code behind):
<asp:DropDownList ID="test" runat="server" SelectedValue='<%# Bind("status") %>' >
    <asp:ListItem Text="offen"></asp:ListItem>
    <asp:ListItem Text="geschlossen"></asp:ListItem>
</asp:DropDownList>

In my case, there are only 2 values possible ("open case", "closed case") and when I add a new record, "open case" should be selected. With no changes, I get an JScript-Error that there is no item in the itemlist for the selected value.

When I try http://www.telerik.com/help/aspnet-ajax/grdinsertingvaluesusercontrolformtemplate.html section "Setting predefined values for controls inside FormTemplate on item insertion (both suggestions), I get the same error, but now in that moment the data binding in the aspx-File happens.

What I'm doing wrong???

Michael

Iana Tsolova
Telerik team
 answered on 22 Feb 2010
1 answer
94 views
This skin would do the best practises for color contrast etc for WCAG 2, Section 508 accessibility.

If possible, assigning to this skin would also disable any and all features that are questionable about passing a rigorouse 508 review by some one that got up on the wrong side of the bed after a horrible night.

For example:
  • Disables most if not all of Javascript functionality, animations, etc

The big win is simple:  if someone develops a site and give the user the option to declare themself needing accessibility, the site is now skinned for accessibility and everything auto-adjusts.  This would be a major win for cost-reduction in government and education sites, etc...

Alex Gyoshev
Telerik team
 answered on 22 Feb 2010
3 answers
240 views

Hi,

I am using Hierarchy mode of the radgrid with setting property HierarchyLoadMode

 

="Client".

Following code is used for filter expression.

 

 

If Assembly.GetAssembly(GetType(ScriptManager)).FullName.IndexOf("3.5") <> -1 Then

 

    radGridMenu.MasterTableView.FilterExpression =

"it[""ParentId""] = Convert.DBNull"

 

 

Else

 

    radGridMenu.MasterTableView.FilterExpression =

"ParentId IS NULL"

 

 

 

End If

But it throws an error: No applicable indexer exists in type 'Menu'.

I am using framework 3.5 and migrating from telerik old version to latest version.
Please let me know you have any other solution for this.

Thanks,
Sarang

 

Yavor
Telerik team
 answered on 22 Feb 2010
3 answers
164 views
Hi everyone,

Does anyone know if it's easily possible to hide the filter row in a RadGrid when in edit mode?

Thanks,

Steve
Alessandra C
Top achievements
Rank 1
 answered on 22 Feb 2010
2 answers
162 views
Hi -

I'm attempting to use the radCaptcha control in a WSS 3.0 application and running into some issues.  The use case is for users to request login credentials by filling out a form (with the captcha) and getting credentials emailed to them later.  Given that the user is unauthorized, I'm assuming that I need to add a <location> block to the application's web.config for the captcha image handler, but I have no idea where that guy lives in a sharepoint environment.

Thanks,
JLS
Chris
Top achievements
Rank 2
Veteran
 answered on 22 Feb 2010
2 answers
153 views
I've a page to add type of an event, with a colorpicker.
<telerik:RadColorPicker runat="server" ID="RadColorPicker1" Preset="Standard" showicon="true" width="300px" EnableEmbeddedSkins="false"/> 

before i save the selectedcolor to database, i change the color to html color as below:
ColorTranslator.ToHtml(RadColorPicker1.SelectedColor) 

now, i wanted to add another page for edit type and i tried to get the color code from database display at the colorpicker :
RadColorPicker1.SelectedColor = System.Drawing.ColorTranslator.FromHtml(color)

but, the colorpicker didn't display the color i set. Anything i left out?
----------
i've found the problem. thanks
Iry Lee
Top achievements
Rank 2
 answered on 22 Feb 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?