Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
Hey guys, I'm stuck with this issue. I basically added a couple of radeditors under a sublayout for some page at my sitecore CMS, and when I go to the page everything looks fine with the RadEditor till I try to add a link, image, etc. I've been reading a lot about this without luck. I also checked this article: http://www.telerik.com/support/kb/aspnet-ajax/editor/details/error-web-config-registration-missing!-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file- 

My web.config looks fine, with all the handlers in place and so. So now just wondering whether this is an issue with the sitecore configuration or something?

My web.config looks like this:

    <handlers>
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>

    </httpHandlers>
      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </httpHandlers>
Marin Bratanov
Telerik team
 answered on 01 Apr 2015
1 answer
79 views
Greetings.

It seems the RadPageLayout control uses a 960px wide grid as its basis.

Can this be changed to 1200px so that all columns have a default size of 1000px vs. 80px? How and where would I make this change to globally apply to my site.

Thanks,

Greg
Ivan Zhekov
Telerik team
 answered on 01 Apr 2015
12 answers
490 views
I have a radlistbox that is located in a html table. To center the radlistbox on the page I have the <td style="text-align:center"> but by doing this the bound list item's text are also centered in the radlistbox. How can I keep the radlistbox aligned center in the html table and also have the radlistboxitem's text left aligned?

<table>
    <tr>
        <td style="text-align:center">
            <telerik:RadListBox ...

Thanks,


Steve Holdorf

 
Magdalena
Telerik team
 answered on 01 Apr 2015
1 answer
151 views
I really want to try and use Rad HTML Chart for this, instead of just returning text.  it is a page to display Survey Responses.  Each response is a Likert Scale 1-4. I  need to display the averages of 7 questions in a single chart (because they are grouped similar questions)  Here's the problem.  Each question does have a "N/A" option which stores a NULL value in SQL so they are not calculated in the AVG or COUNT functions.

Question 1: 14 Responses, with a 3.75 AVG
Question 2: 12 Responses, with a 3.67 AVG
Question 3: 14 Responses, with a 2.00 AVG
Question 4: 13 Responses, with a 3.75 AVG
Question 5: 10 Responses, with a 2.00 AVG
etc.

I would like a single bar chart with each question a Column, showing the AVG, and the X-Axis label showing the # of responses per question that way we can justify the difference in number of responses.

Does that all make sense?

And here's my  problem; I don't know who to return the rows from SQL.  Do I return multiple rows and let ASP.NET do the AVERAGE and COUNT functions?  or do I make SQL do the calculations and only return 1 row with Col 1 = Question #1 COUNT, Col2 = Question #1 AVG, Col3 = Question #2 COUNT, Col4, Question #2 AVG, etc.

Or do I return 2 datasets, one with AVG and one with COUNT?

PLEASE HELP


Danail Vasilev
Telerik team
 answered on 01 Apr 2015
1 answer
49 views
Any ideas on adding a new row to a RadGrid with the bound RadComboBox un-selected and displaying the EmptyMesage.
<ItemTemplate>
<telerik:RadComboBox ID="cboCoverSectionImageType" Width="230px" runat="server" SelectedValue='<%# Eval("IMAGE_TYPE_ID") %>'
DataSourceID="ObjectDSPropertyImageTypes" DataTextField="Image_Type_Name" DataValueField="Image_Type_ID"  
EmptyMessage="Click here & select page">
</telerik:RadComboBox>
</ItemTemplate>


ImageMasterInfo objNewImageInfo = new ImageMasterInfo();
objNewImageInfo.IMAGE_ID = 0;
objNewImageInfo.IMAGE_PROPERTY_ID = this.PropertyID;
objNewImageInfo.IMAGE_TYPE_ID = -1;
objNewImageInfo.IMAGE_PATH = string.Empty;
objNewImageInfo.IMAGE_THUMB_PATH = string.Empty;
lstSectionCoverImages.Add(objNewImageInfo);
 
RadGridCoverSectionImages.DataSource = lstSectionCoverImages;
RadGridCoverSectionImages.DataBind();

Eyup
Telerik team
 answered on 01 Apr 2015
1 answer
101 views
Here is my code
 <telerik:RadAutoCompleteBox ID="racdBookingSource" Runat="server"   AllowCustomEntry="true">
                 </telerik:RadAutoCompleteBox>

 public static List<object> GetBookingSource()
        {
            CandFEntities context = new CandFEntities();
            return context.Bookings.GroupBy(p => p.Booking_Source).OrderBy(m => m.Key).Select(r => r.Key).ToList<object>();


        }


protected void Page_Load(object sender, EventArgs e)
        {
            racdBookingSource.DataSource = BookingDataManager.GetBookingSource();
            racdBookingSource.DataBind();
}


But when i try to enter data to text box its raise error with sum asci data


Ivan Danchev
Telerik team
 answered on 01 Apr 2015
1 answer
95 views
Hello

I have a simple RadGrid inside of a div with a few bound columns, and I've hooked up the ClientExportManager to export the contents of the div (which is basically just the RadGrid).  Everything inside of the grid seems to export properly except for one column.  That column is a GridRatingColumn, and I expected on the export to see the stars displayed in the PDF, but that column is empty on the exported PDF.

Is there anything that would prevent the Export Manager from being able to handle this?

Thanks!
Peter Filipov
Telerik team
 answered on 01 Apr 2015
1 answer
164 views
Work on vs2012 web form project.Want to fill RadComboBox  treeview control  by json data. To fill the control I use bellow
C# syntax. 

DataSet ds =dwdb.ExecuteDataSet("sp_getItemGroupsList");
ItemGroups iG =new ItemGroups();        
//find the
treeview  RadTreeView tree =(RadTreeView)this.RadComboBox1.Items[0].FindControl("RadTreeView1");
tree.DataSource = ds;        
tree.DataBind();


Need syntax how to fill RadComboBox by json data on client site.
Peter Filipov
Telerik team
 answered on 01 Apr 2015
8 answers
915 views
Hi,

Is there any method that retrieves the SelectedNode object from the RadDropDrownTree object? 

Regards
Ivan Danchev
Telerik team
 answered on 01 Apr 2015
1 answer
147 views

I'd like to use autocomplete boxes set to text and limit to single entry. I have achieved this but I'm now trying to detect if the text entered is new. i.e. it is not an item that already exists in the database that populates the list.

In my case the select statement is against a table with less than 100 records. New values are permitted. The user types and the dropdown is filtered. The user can then select from a value or carry-on typing.

Can the control indicate
1.  If the value has been selected or typed.
2.  If typed then is this a new entry or an value that exists but was not selected.... sometimes our user will paste a value in directly which actually already exists in the list.

I need to be able to differentiate so that new values are added to a table when the form is saved.

Thanks

Dimitar Terziev
Telerik team
 answered on 01 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?