English 中文(简体)
适当变化 Ajax 多个Handle Slider参数
原标题:Properly changing Ajax MultiHandle Slider parameters on postbacks

2008年 我有VB。 该网络使用Ajax多种代谢器推广法,在页数和Im中添加代号,以过滤对数值的检索结果。

Fistly, the multihandle sliders don t display in the designer... I have to remove the slider targets tag: In order to make it display in the designer... this isn t so much a big issue but an annoyance.

I am displaying items in a given category. So I get the max and min prices for all items in that category and assign the sliderextension max/min values appropriately.

This works fine until... I change the item category and go get a new max/min value for the slider control. I set the max/min values, then I set the target textbox values each to the corresponding max/min values.

The slider handles don t repaint (or init?) properly Like say for example my initial min/max is 1/100 if I do a full postback and change the max value to 1000 then the slider bar (correctly) stays the same size but the handle appears WAYYYY to the right off the page and I have to scroll to it. When I click it, it shoots back onto the slider bar.

我把我的头发拉开......为什么在我首次确定最高/最高价值时,梯子处理得当?

最佳回答

也许这种反应很少到很晚,但对于任何存在这一问题的人来说,解决办法是重新建立/清理多个HandleSliderExtender的客户国。

例如:

ajctMultiHandleSliderExtender.ClientState = "0";

ajctMultiHandleSliderExtender.ClientState = "1,1000";
问题回答

I haven t resolved the intial problem with the AJAX sliders but I used the Telerik sliders and they do not have this issue. Just FYI for any readers who stumble upon this.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签