Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
86 views
Hi,

I have a slider on one page which then gets posted to another page.  The problem with what I'm doing below is that the items collection isn't passed in client state.  

What is the correct way to get the slider value?

          
NameValueCollection nvc = Request.Form;
RadSlider rs1 = new JavaScriptSerializer().Deserialize<RadSlider>(nvc["RadSlider1_ClientState"]);
var v = rs1.Items[Convert.ToInt32(rs1.Value)];
 
Thanks,

Andy
           
andy
Top achievements
Rank 1
 answered on 18 Mar 2013
2 answers
186 views
I would like insert a RadRadialGauge in a Report.
I tried export ou convert it to Image as byte array or FileStream, this way i could insert as PictureBox.

Do you have a solution for this ?!? 
Can I export RadRadialGauge to a Image object ?!?
Can I insert RadRagial Gauge to a report ?!?

Wainting answer.

Tks
Danail Vasilev
Telerik team
 answered on 18 Mar 2013
4 answers
84 views
Hi,

I triing to use tabstrip Wizard to build one payment gateway. During the first step you adding your items in the cart, next go to payment gateway. After that i need to go outside to the external site and come back after validate the payment like paypal. If i load one new page i lost my data. It's possible to return from one external page and move to next step programatically using somelese like a service to prevent new page loading?. Others ways to go outside and come back in one defined wizard step?.

Thanks, Regards.
Nencho
Telerik team
 answered on 18 Mar 2013
1 answer
89 views
Hi,

We use the skin Webblue with de version 2012-2-607-35.  We want to use now the version 2013-1-220-40.

The WebBlue skin has changed.  I want to know the easiest way to come back to the old WebBlue skin using the new version.  Our client don't want to change it.

Thank you and have a nice day!

Steeve
Galin
Telerik team
 answered on 18 Mar 2013
4 answers
88 views
HI 


   I have two login like admin and user.my doubt is when i login as admin the grid want to show hole record in the database but when i login as user it want to show particular record for that user how it ll be done..this is my doubt if somebody give solution for this
Angel Petrov
Telerik team
 answered on 18 Mar 2013
3 answers
109 views
Scenario:
Click on the "W3C" button (XHTML Validator).

Result:
The following error:

Status: 403 ForbiddenVary: RefererContent-type: text/html

W3C Markup Validation Service

Check the markup (HTML, XHTML) of Web documents

Sorry! This document can not be checked.

No User-Agent header found!

Please identify your software properly by providing the HTTP User-Agent string. Default from an underlying library (eg Java, Ruby, Coda, libwww) is not sufficiently unique in identifying your software. A good practice is to include a URI to more information about your service or software.

Valid XHTML 1.0! The W3C Validator Team

Note:
You can check it also in the demo Rad Editor:
http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

It looks like the request format has been changed on the http://validator.w3.org/ side.

Could you please help me to resolve this problem? 

Thank you in advance.
Rumen
Telerik team
 answered on 18 Mar 2013
4 answers
177 views
Hello
this is my first post. Actually whole days i search for smilar thread on the forum but all contents are related 
editor.getSelection().getRange() gives current location of cursor! yes this gives but if press enter contentArea divided and nodes are like
Facebook
Google
innerHTML is like 'Facebook<br>Google' innerText is like 'FacebookGoogle'
so if cursor located to end of 'google'
then $find("RadEditor1").getSelection().getRange().endOffset = 6 and $find("RadEditor1").getSelection().getRange().
startContainer.data='Google'
if content is like  'Facebook Google' then $find("RadEditor1").getSelection().getRange().endOffset = 15 and $find("RadEditor1").getSelection().getRange().startContainer.data='Facebook Google'

i want cursor location gives position for whole content not for current line and if possible i d like to get current node of contentArea nodes which divided by new line or line breaks



Elvis
Top achievements
Rank 2
 answered on 18 Mar 2013
6 answers
156 views
I am trying to find the right way to build a hierarchical grid. I will present a case much like what I want, showing all of the cases that my application will need.

Checklist One
|
+- What is your age?
   |
   +- Age : Under 40
   |  |
   |  +- Do you like cake? (Available answers : Yes, no) (Score: 3)
   |  |
   |  +- Do you like pie? (Available answers : Yes, no) (Score: 3)
   |  |
   |  +- Do you like cake more than pie? (Available answers : Yes, no, equally) (Score: 2)
   |
   +- Age : At or Over 40
      |
      +- Do you like cake? (Available answers : Yes, no) (Score: 3)
      |
      +- Do you like pie? (Available answers : Yes, no) (Score: 3)
      |
      +- Do you like cake more than pie? (Available answers : Yes, no, equally) (Score: 2)
      |
      +- Do you diet often?
         |
         +- Answer : More or less, yes.
         |  |
         |  +- Does your love of cake and/or pie interfere with your dieting? (Available answers : Yes, no) (Score: 1)
         |  |
         |  +- Do you wish you loved cake and/or pie less?
         |     |
         |     +- Answer : It would help, yes.
         |     |  |
         |     |  +- Would you rather love cake or pie less? (Available answers : Cake, pie, both) (Score: 1)
         |     |
         |     +- Answer : No. Dieting is the price I pay to enjoy cake and/or pie.
         |     |
         |     +- Answer : Heck, no! You're crazy for even thinking that.
         |        |
         |        +- Are you offended at the thought of loving cake or pie less? (Available answers : Yes, no) (Score: 1)
         |        |
         |        +- Would you like some cake and/or pie right now? (Available answers : Yes, no) (Score: 1)
         |    
         +- Answer : No, dieting is not something I need or want to do.

Checklist Two
|
+- Do you like coffee? (Available answers : Yes, no) (Score: 3)
|
+- Do you like tea? (Available answers : Yes, no) (Score: 3)

In the above view, you can see that there are multiple types of data.

The first is the root node - I show two, titled 'Checklist One' and 'Checklist Two'. As you can see, one is complex, while the other is simple.There will be multiple root nodes that all have multiple questions of varying depth that descend from them. I would like to have the ability to view multiple root nodes and all of the resulting questions, but my requirements only ask to see one at a time.

The next levels are characterized by questions that lead to further questions, or ending questions. You can see that each has a different structure. 

Some questions may have further child questions. These questions have free-form answers possible and nothing else. These will never be at the root of the tree, but a given answer may terminate as a leaf. Furthermore, they can have no limit to how often one question descends from another. If you look at Checklist One, you can see a case where the non-root/non-leaf nodes go three levels deep before terminating in the end (leaf) questions, and how two free-form answers end with no further child questions. I would like to have as many levels of depth as possible, but it is unlikely that I will see more than three levels, as I have illustrated above.

Some questions never have child questions. These questions have a list of possible answers (yes, no, equally, both, cake, pie) and there is also an associated 'score'. This is entirely different from the questions above, so they will need to display their data differently. These questions are leaves in the tree. They will never be the root, but they may be connected to the root directly. (Look at Checklist Two for an example where there is a root node - Checklist Two - and two leaf nodes - the coffee question and the tea question. There are no middle nodes there.)

In my database, the root nodes are held in one table, the leaf questions are held in another, and the non-root/non-leaf questions are held in a looping parent-child structure in a third set of tables. Of course, I will be presenting the grid(s) with data via LINQ so the table structures themselves are not important, as I can just create anonymous objects to carry my data.

How should I build this grid? It seems that there is both self-referencing and multiple detail tables, but I haven't found a way to mix the two correctly in a RadGrid.
Ken
Top achievements
Rank 1
 answered on 18 Mar 2013
1 answer
64 views
hi,
i've this code:
<telerik:RadListView ID="RadListView1" runat="server" AllowPaging="True"
DataKeyNames="idutente" ItemPlaceholderID="Contenitore" PageSize="8"
Width="700px" OnNeedDataSource="RadListView1_NeedDataSource">
<LayoutTemplate>
<fieldset style="width: 700px; border:0px; background-color: #FFFFFF; background-image: none;" id="FieldSet1">
<div id="Contenitore" runat="server">
</div>
</fieldset>
</LayoutTemplate>
<ItemTemplate>
<div class="item-sponsor">
<asp:Image ID="Image1" runat="server" ImageUrl='<%# CType(Container.DataItem, PropertyUtente).imageprofile%>' CssClass="img"/>
<span class="name"> <%# CType(Container.DataItem, PropertyUtente).utente%> </span>
<span class="title"> <%# CType(Container.DataItem, PropertyUtente).Desccategoria%></span>
</div>
</ItemTemplate>
</telerik:RadListView

and i wolud that i can click on every field that i see and start a redirect with the value datakyesname...it's possible?

bye
Daniel
Telerik team
 answered on 18 Mar 2013
5 answers
205 views
Hello,

    I'm trying to bind an array of Provincia class objects to the RadComboBox. 

this.ProvinciaRadComboBox.DataSource = DiccionarioDatos.provincias; // Provincia[]
this.ProvinciaRadComboBox.DataTextField= "nombre";
this.ProvinciaRadComboBox.DataBind(); //<---the error is raised here

But when I run the follow error is raised:

Object of type assembly1.Provincia does not have a nombre property

And of course the Provincia class is public, and it has the public string property nombre. The class is defined in a different assembly, but with the reference added to it and also the using.

What I'm doing wrong?

Thanks in advance.
Boyan Dimitrov
Telerik team
 answered on 18 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?