Rating control for Coolite Needed

  1. #1

    Rating control for Coolite Needed

    I am using coolite .8xx version and I need a star rating control for my project. I was trying to use the ajaxcontrol toolkit rating control, but I found in the ajax call the ajaxcontroltoolkit rating control cant be accessed or ignored when the call is made using Coolite.AjaxMethods... process. Now I need either the coolite version of rating control or fixing the problem I am facing.
    NB: I cant change the coolite version currently and I guess, I need some external ajax control which can respond to the coolite ajax control as the my version does not include a rating control.
    Any help will be greatly appreciated
  2. #2
    Hi,

    Unfortunately, there is no Rating control in Coolite/Ext.Net.

    As far as I can understand you use
    http://www.asp.net/ajaxlibrary/act.ashx

    Well, you could manually extract Rating's value on client side
    Ext.get("RatingID_RatingExtender_ClientState").getValue() // it returns from "1" to "5"
    and pass it to the AjaxMethod's handler as a parameter.
  3. #3

    AjaxControlToolkit Rating control problem

    Quote Originally Posted by Daniil View Post
    Hi,

    Unfortunately, there is no Rating control in Coolite/Ext.Net.

    As far as I can understand you use
    http://www.asp.net/ajaxlibrary/act.ashx

    Well, you could manually extract Rating's value on client side
    Ext.get("RatingID_RatingExtender_ClientState").getValue() // it returns from "1" to "5"
    and pass it to the AjaxMethod's handler as a parameter.
    Hey Daniil,
    Finally I am using ajax ocntrol toolkit for rating which is cool thing, but I am facing a big problem. I am assigning some currentRating value in an ajax method and calling the method from client side. All ext controls are showing their loaded value, but the rating control cant retain the assigned value from code behind. How can I use and get the same behavior from the ajaxcontroltoolkit rating control like other ext.net/coolite control?
  4. #4
    Well, it's rather question for AjaxControlToolki's creators:)

    We implemented LoadPostData to provide this behavior, I guess they do not.

    One provided by Ext.Net option - you could send a rating value through ExtraParams of DirectEvent.

    By the way, we have Rating column for GridPanel.
    https://examples1.ext.net/#/GridPane.../RatingColumn/

    Maybe, you could use it.
  5. #5
    Quote Originally Posted by Daniil View Post
    Well, it's rather question for AjaxControlToolki's creators:)

    We implemented LoadPostData to provide this behavior, I guess they do not.

    One provided by Ext.Net option - you could send a rating value through ExtraParams of DirectEvent.

    By the way, we have Rating column for GridPanel.
    https://examples1.ext.net/#/GridPane.../RatingColumn/

    Maybe, you could use it.
    Yes Danill, you are right. As I posted in asp.net forum, I got the answer here
    http://forums.asp.net/t/1669212.aspx...is+not+working
    Anyway, thanks for response

Similar Threads

  1. Replies: 5
    Last Post: Sep 19, 2011, 8:20 PM
  2. Replies: 4
    Last Post: Feb 23, 2010, 7:38 AM
  3. Load Coolite JS only when needed
    By mj.daly in forum 1.x Help
    Replies: 6
    Last Post: Feb 11, 2010, 1:44 PM
  4. Experienced Coolite Programmer needed
    By mmiocev in forum Open Discussions
    Replies: 0
    Last Post: Oct 16, 2009, 9:52 AM

Tags for this Thread

Posting Permissions