AJAX :: SliderExtender Occasionally Not Render TextBox Correctly?

Oct 18, 2010

I am using a bunch of SliderExtenders to morph the ASP Textbox into a Slider control. This has worked great. However, I noticed that 1/20 times, occasionally, the sliderextender fails to morph the textbox. So the textbox actually appears during initial page_load. However, you can still drag the slider around because it is also rendered beneath the textbox.

A subsequent page refresh fixes this problem until some other time.

Second thing, this also frequently comes out more when switching between a javascript tab and an updatepanel.

View 1 Replies


Similar Messages:

AJAX :: SliderExtender Hides Textbox?

Feb 11, 2010

I've tried variations on CSS and layout (such as tables) but haven't been able to solve this problem. I've been able to recreate this with my simple example below on both Firefox 3.6 and IE7. When I load this page, the textbox blinks in for a second and when the slider appears the textbox will disappear. In the case of this example, the slider appears in the place where the textbox tried to load. In other examples I've created the textbox and slider load in different places but the textbox still disappears when the slider appears.

[Code]....

I realize this is an extremely simple example but I'm trying to narrow down the possible places for things to go wrong.

View 2 Replies

AJAX :: Use Javascript To Call A SliderExtender (textbox) To Update Its Value?

Oct 18, 2010

I am trying to develop two step size buttons + and - so that when you click either one, the AJAX SliderExtender will magically move itself by one. I have tried implementing the following functions:

document.getElementById ("Slider1_BoundControl").value = 5;
document.getElementById ("Slider1").value =5;

here's what happens, I see that the BoundControl textbox works and it gets updated to 5. However, the slider still does not update to its new position. When the slider moves, a postback will occur. The Slider1 is the textbox that is the targetID to SliderExtender1 . The boundcontrolID is Slider1_BoundControl (textbox)

View 1 Replies

JQuery :: Firefox Doesn't Render Correctly Inside Modal Dialog

Jan 19, 2011

I have tried searching for the answer but have failed to get any insight into this problem. Look at the following two examples. [URL] (JQuery modal dialog without <input> element) Above pages have very simple JQuery modal dialog, whihc displays correctly in IE, Chrome, Safari and Opera. Unfortunately, Firefox does not display the modal dialog with <input> correctly. It displays the other one correctly. I have tried the following without resolution to this peculiar problem:

- Changed doctype
- Used <table> to enclose <input>
- Used <div> to enclose <input>
- Used all possible CSS display attributes for <input>

View 2 Replies

Web Forms :: On Line On Production Server (running Asp.net 3.5) Can't Render Correctly On Safari?

Aug 26, 2010

recently converted a project written with VS 2008 + asp.net 3.5.The problem is that on line on the production server (that's running asp.net 3.5) it can't render correctly on safari.The project has a BrowserFile.browser that with past visual studio worked:

[code]...

View 5 Replies

AJAX :: TabContainer Occasionally Failing To Draw?

Mar 2, 2010

Okay, so this is one of those annoying bugs that happens sometimes, but not with enough regularity to really root out.

Fair warning that I'm still just toddling in ASP.NET, so I could be doing something heartbreakingly stupid. Here's the gist:

I've got a page with the bulk of its content inside of a TabContainer from the AJAX Toolkit. There are a few page elements outside the TabContainer -- mostly just header/footer stuff from the master page. Sometimes the page will load (either initially or on a postback) and the TabContainer will completely fail to draw, leaving a mostly-empty page. Clicking "Reload" in the browser almost always makes everything appear as usual.

What would make a TabContainer occasionally fail to draw? How can I go about debugging this.

View 4 Replies

AJAX :: ListView & SliderExtender?

Apr 22, 2010

I have a sliderextender inside a listview and there is a button that save the sliderextender values inside the listview. My problem is when i am trying to get the value of each slider i do not get the value set. My boundcontrol that i declare on the sliderextender changes but when i try to get its value its "" but there is a value displayed.

View 2 Replies

AJAX :: ContentType Header Attribute Occasionally Not Present In Web Method

Jul 23, 2010

I am having a simple web service method which returns JSON serialized response. The attribute to web method is

[WebMethod, ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]

As security of the return data is not a problem, I am Get enabling the HTTP response. On the client (browser) end, my code is as below

[Code]....

Everything works smoothly but occasionally on the web server's event viewer, I see the following error

"Request format is unrecognised for URL unexpectedly ending in /SomeWebServiceWebMethod"

After fiddling through the request headers using Fiddler, I figured out that if I make direct request to the webservice link, contentType header attribute is missing and that is what throws the error. There is a good post by scott guthrie explaining this. I am not able to replicate the issue and not sure what removes the contentType attribute from the request header occasionally.

View 2 Replies

AJAX :: To Change SliderExtender Value From Server Without Postback?

Oct 21, 2010

Right now, the SliderExtender value (when dragged around) will cause a normal postback on TextChanged.

My situation is, the server side code would also like to dynamically change this slider value. When it does this, it changes the sliderextender value by javascript. However, teh problem is, when this happens, another postback occurs raising the OnTextChanged
event when a postback occurs.So how can I change the sliderextender value from the server side withotu raising a postback?

I've tried to set autopostback=false, then set teh value, then setting it back to true but this wasn't workign in javascript.

View 4 Replies

AJAX :: SliderExtender Control - Step Not Working?

Mar 3, 2010

have a sliderExtender Control over textbox like this

<cc1:SliderExtender
ID="SliderExtender1"
BoundControlID="TextBox1"
TargetControlID="TextBox2"
runat="server"
Maximum="10000"
Steps="500"
Length="200">
</cc1:SliderExtender>

However, when I drag the slider the incremental is not 500. How to ensure it increase by 500 each small drag movement ?

View 4 Replies

AJAX :: Sliderextender Setting And Manipulating Values?

Dec 10, 2010

On my page I have the code:

[Code]....

and to set the value in the code behind my Page_Load has

[Code]....

If leave the slider alone or change the value Label1 always says 110. I want it to say the slider value + 10.

View 2 Replies

AJAX :: SliderExtender Behavior Can Only Be Capture After A Postback?

Dec 3, 2010

I'm using SliderExtender in content of a Master Page.

It has a JavaScript function that is called in both $(document).ready and Sys.WebForms.PageRequestManager.getInstance() .add_endRequest() .

When I initial the page, the function is not active, it says " $find('BehaviorID') " is null, while other JavaScript function (without behaviourID) works smoothly.

But when I do a postback on the page. The slider function turns to available.

It seems the page didn't generate properly, miss a slider tag with class = "...BehaviorID..."

View 2 Replies

AJAX :: Linking Multiple SliderExtender Controls?

Jan 30, 2011

So I want to build a page with 3 sliders that are linked and limited to 100 total. So if the user slides the 1st slider to 100 then the other 2 wont move. Or they could do 50 / 25 / 25 etc etc...

So I need to limit each slider maximum based on (100 - the other 2 selected values) and I'd like to do it without a postback.

View 1 Replies

Javascript - Lose The Ajax-SliderExtender After Page Refresh?

Nov 30, 2010

I'm using a Ajax SliderExtender in a UpdatePanel. I set a BehaviorID and call $find('behavorID').add_valueChanged function in the $document.Ready. Everything is fine but when I press F5 and refresh the page, I lose the slider in a 1/3 (wtf) chance. If I set var slider = $find('behavorID'), it recognises slider is null.

View 1 Replies

AJAX :: SliderExtender Causes TextChanged Event To Fire On Every PostBack?

Oct 7, 2010

I need a Slider that will only postback when the slider has been moved. Can this be achieved with SliderExtender?

I have a TextBox with autopostback=true, within an updatepanel within a usercontrol. The TextBox is extended by SliderExtender (default settings).

The TextBox's TextChanged event fires perfectly when the slider is moved (MouseUp - standard extender setting). The aspx page is partially posted back, and all is well.

However, if another usercontrol on the same aspx page causes a partial postback, the SliderExtender causes the TextChanged event to be raised - for no aparent reason. This is causing problems.

Is it possible to prevent postback unless the slider has actually been moved?!

View 2 Replies

Web Forms :: Textbox In The Form But Text_changed Not Working Correctly?

Oct 22, 2010

I got a textbox in my form and I want to when a user start typing in the textbox the listbox below the textbox will select the item that starts with that string

for example, it i type I

than in myserver side code will call that SearchString method which will go through that listbox and do the rest...

protected void CountryTxt_TextChanged(object sender, EventArgs e)
{
string s = CountryTxt.Text;
SearchString(s);
}

the problem is it only stops in the textchanged after I press the enter key; it doesn't seem to work just by typing the characters in the textbox...

<asp:TextBox ID="MachineTxt"
runat="server" Width="42px"
ontextchanged="CountryTxt_TextChanged" AutoPostBack="True"> </asp:TextBox>

View 4 Replies

VS 2010 / StreamReader And TextBox Not Displaying Data Correctly

Jul 16, 2011

I need to read a file on a server into a textbox. I did a test on my local PC, to make sure it works the same in a web app as it does on a desktop app.

The data appears to read just fine, but it doesn't display properly. The test file in the screenshot below, shows how the data should be displayed. When using a desktop app, the data displays just like this.

But on the web app, I get this:

Although the TextBox appears to be MultiLine, it only displays the data in the middle of the box and as one line. Am I missing something?

View 3 Replies

AJAX :: SliderExtender - "not Set" Value?

Oct 7, 2010

Is it possible to set a "not set" value for the SliderExtender? For example, I have a SliderExtender defined to take an integer value from 1 to 5. However, until someone sets it, I want the SliderExtender to return a "not set" value, and for the handle/rail to signify that it has not been set (e.g. handle/rail in a different colour). I have tried using the value "0", NULL, Empty, dbNull. In each case I either receive an error (invalid value) or the SliderExtender "cleverly" sets itself to the minmimum value of "1" I have tried the following...

When the usercontrol is initially loaded I set the rail to red colour using RailCSSClass, and set the TextBox to "0" - which is not a legitimate value because the extender expects an integer between 1 and 5. The result, upon initial loading of the usercontrol is that the rail is red in colour (indicating to the user that they need to set it) and the handle appears in position 1. All is reasonably well at this point. HOWEVER, if anything on the web page causes a postback, the SliderControl's TextBox sets itself (as expected, I suppose) to "1", and the TextChanged event fired - making it look as if someone has now selected a value. So.... can the SliderExtender/TextBox be made to "accept" a "not set", value by some other clever means - and to remember that "not set" value between postbacks?

View 1 Replies

The Page Occasionally Locks Up Permanently?

Dec 16, 2010

I have a page with the CuteWebUI upload control in it. The page occasionally locks up permanently, and by locks up I mean the whole browser locks up. Does anyone have any problems like this, or can anyone think of a general reason why this would be happening?

View 4 Replies

C# - Web Service Occasionally Slows Down Significantly?

Mar 11, 2010

My company is running into a problem with a web service that is written in C#/ASP.Net. The service receives an identity key for data in SQL Server and a path to generate and save a PDF report for this data.

In most cases, this web service returns results to the calling web pages very quickly, usually within a few seconds max.

However, it seems to occasionally hit a significant slowdown. The web application calling the web service will generate a timeout error when this slowdown occurs. We have checked and the PDF does get created and saved to the server, so it looks like the web service eventually finishes executing. It seems to take about 1 to 2 minutes for processing to have completed. The PDF is generated using ActiveReports from Data Dynamics.

Wwhen this problem occurs, making a small change to the web service's config file (ie, adding a blank space to a connection string line) seems to restart the web service and everything is perfectly ok for a period of time afterwards.

Other web applications that are running on the same web server do not seem to experience this type of behavior, only this particular web service.

I have added the code for the web service below. It is basic calls to 3rd party libraries. We are not able to recreate this problem in test.

[WebMethod]
public string Publish(int identity, string transactionType, string directory, string filename)
{
try
{

[Code]....

View 2 Replies

Web Forms :: MSCaptcha - Image Is Not Displayed Occasionally?

Aug 31, 2010

I am using MONDOR's MSCaptcha control in my ASP.NET 3.5 application, and everything seemed to work fine both locally and remotely, till I started receiving complains from rare users.I am using is for my web site registration, and as I see many people are able to register, I assume that the problem is rare.

However, I've heard two complaints from two different users that Capthca image is not displayed at all. They did not add any special blocks to browsers, and both tried several browsers and it did not work in all of them.here is my code for referrence:

web.config:
<httpHandlers>
< [code]....

View 6 Replies

AJAX :: Modalpopupextender Not Displaying Correctly

Aug 3, 2010

I have a user control I created in asp.net 3.5. The user control has some buttons and a modal popup extender inside of it. I have added the control to one of the columns of my gridview. The propblem I am having is when I click on any other button in my control, then click on the button that displays the modal popup(client side), the grayed out modal popup area appears behind the grid, and I cant see nor access my panel. Here is my source for my user control.(I have tried playing with the z-index and other things, but nothing seems to work).

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucParcels.ascx.cs" Inherits="UserControls_ucParcels"</textarea></p>
<input type='hidden' name='ID[7]' value='79140' />
<input type='hidden' name='URL[7]' value='http://forums.asp.net/t/1438592.aspx' />
<input type='hidden' name='CAT[7]' value='Visual Studio' />
[code]...

View 1 Replies

AJAX :: Correctly Derive From A ScriptControl?

Feb 12, 2010

I have a question. How do I correctly derive from a script control? Especially how to correctly define the script descriptors.

Let's say, I have a MyScriptControl class implementing IScriptControl:

[Code]....

In the derived class, how Do I correctly overwrite the GetScriptDescriptors method? Should I just call base.GetScriptDescriptors, enumerate through them and exchange the Type name everywhere? Or is there a more clean feeling approach to that?

View 4 Replies

Web Form Render Engine Outputs A Control Tree / Looking For Info On Render Logic.

Feb 12, 2011

I've been watching a video on Scott Hanselmnn teaching MVC 2 tricks/tips. He mentions how MVC 2 by default uses ASP.NET Web Forms view engine to render the output of the views; he mentions that the web forms view engine is a little slower than it could be for MVC 2 since it generates a control tree and then outputs the HTML to the page (I hope I said that right).

I was wondering what he meant by web forms generating a code tree before outputting the HTML to the page. Does anyone have insight on the view engine of Web forms and the steps of the rendering process works for ASP.NET and MVC2?

View 2 Replies

Configuration :: Web.Config Needs To Be Resaved Occasionally Or Login Fails ?

Jun 6, 2010

We have an ASP.NET forum (Community Server) installed in a subdirectory of a site. For some odd reason we occasionally get:

Login failed for user 'NT AUTHORITYNETWORK SERVICE'

If we open the web.config file and save it again without modifying anything in it, the login works again. This happens with intervals of 1-3 days.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved