AJAX :: ListSearchExtender Prompt?
Aug 9, 2010
Before you recommend any of the other posts I have viewed to resolve this, let me this them here:[URL]
My problem:The listsearchextender displays below the dropdownlist even though it is specified to be on the top.The prompt is always "...x" where x is the last letter typed. This has somehow automagically resolved itself!
Here is my code:
[Code]....
View 4 Replies
Similar Messages:
Feb 5, 2011
I have a listbox with the listsearchextender as follows...
[Code]....
My problem is that when I click in the listbox the prompt is "...h". When I start typing it changes to "...x" where x is the last letter of the listbox item.
View 6 Replies
Apr 2, 2010
I have several dropdownlists and added this extender to two of them successfully. Two others are getting weird results for the PromptText/SearchText. They show up as a barely readable '...' and the last character that was typed. I've tried making the ddl wider and making more room on to, neither helps. Does anyone know what I can do to fix this?
View 1 Replies
Sep 25, 2010
the AJAX ListSearchExtender will manipulate listboxes,dropdownlist etc.In another discussion here i presented a filter that does this exactly as i want(and better imo).What i need to know is, if there is some mechanism that you can type in a textbox and bellow you get the data that you want(p.e. typing a will present "aardvark","afoul","ant" ,typing an "f" after the "a" will only show "afoul", you get the point) not in a predefined listbox with data but possibly in some other sort of(ajax?) control.So in sort the data will be shown when you start typing.A simple example is a forum that you go to the search option and you want to find posts by a user.When you start typing you get a list below with matching user names.So this is doable at least with php sites using JS.SoP.S. This filter is for future usage so i don't need a fast "alternative".And i think it's JS time again (
View 10 Replies
Jul 9, 2010
In my current web application I have a listbox containing large number of elements. I have used an ajax listsearchextender to help the users in selecting the elements. I have set the autopostback property of listbox true. The application is working fine as expected in internet explorer. But in firefox while I am typing some text in search lable of listsearchextender the selectedIndexChanged event is fired and the page is posted back. So I am not able to selected the item properly using list search extender control. Can you please suggest me how can I stop the selectedIndexChanged event.
View 1 Replies
Mar 27, 2011
i wish to have a dialog prompt out by ajax when user click on an image button. Currently i able to include a simple text field and get the user input like this:
[Code]....
[Code]....
View 3 Replies
Sep 27, 2010
Since last week I've had a really odd issue with PageMethods and the back button which i've never seen before. Essentially, I have a 'home page' which on document.ready (using Query), loads some data through PageMethods, and then renders a list - from which you can click through to a details page about the item. In general use, it works fine. However, using the back button after clicking through (ie: going back to the home page), it throws a PageMethods error. The browser's 'authentication required' prompt appears, and if you click cancel, the server returns a 404. The error returned by PageMethods on the client side is 'authentication failed'.
Just FYI, the application is using ASP.NET forms authentication. The weird thing is, this happens as soon as you click the link and click back. It's not like the authentication cookie has expired or anything, and if you click cancel when the prompt appears and refresh the page, it works fine. I just can't work out what is going on. I've tried disabling caching on the page [as I thought it was something to down with some browsers' caches of the DOM), but the same thing happens. One workaround i've had is to redirect the page to itself if the PageMethods error is 'authentication failed', which does work - but only when you cancel the authentication prompt. Obviously the prompt appears, which is not ideal. I don't understand it, and the user is clearly authenticated. Does anyone have any idea which might be happening? It's happening in Chrome, Firefox, and IE.
View 5 Replies
Apr 12, 2010
looking for some sites or links to samples of using the modalpopup to display when session is about to expire.similar to godaddy.com.If it cant be used anyother solutions available to accomplish the same thing have an application we are building that they want to have something similar to that on the pages.They want to warn / prompt that their session is about to expire.Similar to online banking.
View 2 Replies
Jan 14, 2011
I have set up a copy of a website on a server and think I Have replicated the folder permissions and the IIS settings, but I am getting a windows authentication prompt, once i login with my admin details the site loads.
View 3 Replies
Feb 3, 2010
how can i prompt a msg with 'YES' and 'NO' button. C#
View 5 Replies
Apr 21, 2010
when ever i click on the delete button,then one Message box should come, it must ask "Are You sure Do YOU want to delete this record?" it should have two options YES and NO ,if i click YES the Record should be delete and if I click on NO ,the record will not be deleted. how can i do this in C#.net and in asp.net.?
View 13 Replies
Mar 26, 2010
I have VB code that parses XML data from a webpage. Up until 2 days ago the XML data could be viewed right on the page and I could just grab the HTML source code to get the information. Now they have changed the page to a link button to download the XML file.
The problem is that when I click on the XML link I get the 'File Download Prompt' which asks me to run or save the file. I figured I could just save the file to temp directory and then open it up to parse it in my VB app but I can't figure out how to grab the file from the browser in my application.
View 2 Replies
Apr 21, 2010
how to restore My sql databse on my sql command prompt
View 2 Replies
Mar 14, 2011
In order to find out what identity is running an app, this line is used:
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
But is there another way to find out this name such as through the command prompt?
View 2 Replies
Dec 10, 2010
I am using asp.net and I need to display a prompt to the user if they have made changes to the web page, and they accidentally close down the browser.
The page could be anything from "Edit Profile" to a "Submit a Claim" etc.
How can I can display the messagebox, ensuring that it is displayed only if changes have been made (as opposed to, the user making changes, then undo-ing the changes, and shutting down the browser)
View 3 Replies
Oct 8, 2010
I've written an ASP.net site that requires the use of a 3rd party ActiveX control.
Everything works as expected however when a new user visits the page for the first time they do not get a firts time prompt to install the activeX control. (the yellow bar in IE).
View 2 Replies
Jul 22, 2010
I believe this question has been asked before but I still couldn't find the appropriate answer.
My scenario is like this:
When the user click on a button, it will dynamically generate a .xls and prompt the user to download.I have used transmitfile but it doesn't allows the file to be deleted. I have also used outputstream.write but it doesn't delete the file after flush. Instead it will hold onto the .xls and no modification can be done to the file.
View 4 Replies
Mar 9, 2011
i got directory information from console application now i want write that file from the command prompt output how can i do that
View 3 Replies
Jul 12, 2010
I'm currently trying to write data (client machine) into a xml file where the user can save. However, I want the users to be able to decide on where they want to save this written xml file. Is there any controls or codes that I can use to allow the users to save the file?.
[Code]....
it does not work...
View 7 Replies
Mar 28, 2011
What is the best approach to prompt user, if he is idle on webpage from last 5 minuts.
i mean how to know that use is idle on web page from last 5 minuts.
View 2 Replies
Oct 17, 2010
I using vs2008 web application to develop my wap site. I got an URL like below:
www.askquestion.com/contentlocation/motorsound.images
But when i browse the URL above in phone browse, the phone will show the image file in phone browse. But what i need to do is prompt user to download and save it.
View 3 Replies
Jul 9, 2010
I have a problem with a simple site that is not requiring login. When run in internet explorer
it works as it should. But when I try to access the page with Mozilla Firefox or Apples Safari
i get a login prompt and no valid useraccount can be entered. I have tried setting authentication mode to either Windows or Forms but it makes no difference.
I can cancel to get the page to load but then I see my logo is not showing
(Logo in Images/file.jpg) When I try to use a link to another page it does not allow me access denied.
As said before with IE everything works OK!! Frustrating, probably something simple...
Even more frustrating On another server it works OK,
Application in Swedish server works
Application in US Server does not work with other browsers but IE.
Same setup for server, IIS 6 Windows server 2003 .Net 2 & 3.5
View 1 Replies
Jan 5, 2011
I have two very similar pieces of ASP.NET code that send a file in an HTTP Reponse to the client. They should cause the browser to prompt to save the file. The first one works, the second one doesn't. The HTTP responses as seen in Fiddler are below.
Working:
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 228108
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 4.0.30319
content-disposition: attachment; filename=Report.xlsx
Date: Wed, 05 Jan 2011 12:17:48 GMT
<binary data>
Not working:
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Wed, 05 Jan 2011 12:19:21 GMT
X-AspNet-Version: 4.0.30319
Content-Length: 228080
content-disposition: attachment; filename=report 2.xlsx
Cache-Control: private
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Connection: Close
<binary data>
When the first one is seen in Fiddler the browser correctly prompts to save the file. When the second one is seen in Fiddler, nothing observable happens in the browser. Same behaviour in both chrome and firefox.
EDIT: ASP.NET code that produces the second response
Response.Buffer = false;
Response.ContentType = @"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
Response.AppendHeader("content-length", genstream.Length.ToString());
Response.AppendHeader("Content-Disposition", string.Format("attachment; filename={0}.xlsx", filename));
byte[] buffer = new byte[1024];
genstream.Position = 0;
int n;
while ((n = genstream.Read(buffer, 0, 1024) ) > 0)
{
Response.OutputStream.Write(buffer, 0, n);
}
View 4 Replies
Jan 26, 2011
I am Publishing crystal reports on remote server using the following code. when i try to run the crystal report page Crystal report viewer prompt me for database info. As the published crystal report were created using development server. In my crystal report i was using OLEDB ADO Connection
MyRepository _MyRepository = new MyRepository();
System.Data.SqlClient.SqlConnection myConnection = new System.Data.SqlClient.SqlConnection();
myConnection.ConnectionString = ConfigurationManager.ConnectionStrings["MyConnStr"].ConnectionString;
System.Data.SqlClient.SqlCommand MyCommand = new System.Data.SqlClient.SqlCommand("dbo.spMySP");
MyCommand.Connection = myConnection;
MyCommand.Parameters.Add("@PositionID", SqlDbType.Int).Value = (cmbPositions.SelectedValue == "" ? 0 : Convert.ToInt32(cmbPositions.SelectedValue));
MyCommand.CommandType = System.Data.CommandType.StoredProcedure;
System.Data.SqlClient.SqlDataAdapter MyDA = new System.Data.SqlClient.SqlDataAdapter();
MyDA.SelectCommand = MyCommand;
ASale _DS = new ASale();
MyDA.Fill(_DS, "dbo.spMySP");
rptSale oRpt = new rptSale();
oRpt.SetDatabaseLogon("sa", "mypass");
oRpt.SetDataSource(_DS);
oRpt.SetParameterValue(0, "param1");
oRpt.SetParameterValue(1, "param2");
oRpt.SetParameterValue(2, "param3" );
oRpt.SetParameterValue(3, (cmbPositions.SelectedValue == "" ? 0 : Convert.ToInt32(cmbPositions.SelectedValue)));
CrystalReportViewer1.ReportSource = oRpt;
View 1 Replies
Apr 1, 2010
We have an IIS/ASP web page from a vendor that we have just dropped onto a webserver within our company. The ASP pages do not come with any sort of authentication built in, so I am trying to configure the site to prompt for credentials before being accessible. I would like the site to prompt for the credentials in all cases (ie. I don't want Internet Explorer to pass through the credentials of the logged in user). I want authorization to this site to be allowed only to members of a certain security group with Active Directory.
Is there a way to do this? I'm not really an IIS guy, nor an ASP developer, so I'm kind of feeling my way through the dark here.
Based on some searching, I have tried adding the following to the web.config file:
[Code]....
I have also installed the IIS URL authorization role service, and have tried playing around with the authentication settings within IIS, to no avail.
I am using IIS7 on Server 2008.
View 4 Replies