i am pasting a file in a folder using c#.net code for an web application.when i am pasting i am checking whether the file with the same name exists,if exists i have to show a confirm button to overwrite the current value or not to overwrite. can any one guide me in doing that?
...
Hello!
I have a following problem. I have a page with a ModalPopupExtender. This extender is used to show a user control which contains a user control with a GridView on it. Now the problem is that when I get the UniqueID of the GridView's parent control it looks like: "ctl00$cphContent$hierarchyEditor$gvAvailableLevels" which is perfect...
Hello!
I'm developing an ASP.NET application and I'm trying to do the following:
I'm going to have only one ASPX page splitted into two columns. On the left column is going to be a TreeView, and on the right column is going to be something to edit treeview's nodes.
When the user can select a treeview's node to edit on the right column...
I'm working on an app using ASP.Net's form authentication. The client also makes RESTfull calls to the server (ExtJS components on front end).
We are using a custom HttpHandler for the service calls.
My problem is that anytime the anytime the authentication cookie expires my HttpHandler 's ProcessRequest method isn't called in order f...
We're using a control that uses Callbacks in our ASP.NET page.
The control works fine in FireFox, Google Chrome, etc.
The control works fine if we do not use ASP.NET AJAX History. As soon as we call this code, the callbacks stop working in IE (6, 7 and 8):
ScriptManager.GetCurrent(Page).AddHistoryPoint("h", id);
I did some server s...
I currently have a page that contains a RadTreeView. On each node of the RadTreeView is an ASP.NET Ajax CollapsiblePanelExtender. In the code-behind I have certain panels expanded and certain panels collapsed based on some business logic. Is there a way to detect when ALL ASP.NET-generated Javascript (collapsing/expanding of Collapsib...
I'm trying to populate a div in html via ajax.
The data source is a google search for "bing sucks"
I call the method with
loadXMLDoc('http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Bing%20sucks')
It works in InternetExplorer, but it doesn't work with Firefox/Chrome.
If I load just a file from the local domain (test....
Hi,
I was wondering if its possible to have an ASP.NET AJAX custom usercontrol 'register' its use of CSS files like it does with JS files. ?
Eg: Implementing the IScriptControl interface allows for the GetScriptReferences() to be called by the Script Manager, is there a similar thing for CSS files?
...
I'm developing an ASP.NET Web application with WebForms and C#.
I have this aspx page:
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div id="divBody">
<div id="divHeader">
<asp:Button ID="Edit" runat="server" Text="Editar"...
I'm getting a JavaScript error in the ASP.NET AJAX framework when using the UpdateProgress control.
Details:
The UpdateProgress is inside the UpdatePanel.
Firebug error information:
this.get_element() is undefined
Sys$UI$_UpdateProgress$_startRequest()ScriptRe...373681250 (line 1931)
anonymous()ScriptRe...373681250 (line 61)
How d...
Hi, I have a gridview & need to update a row data without refreshing the page.I tried using ajax updatepanel / Script manager.. but i dont want to use Ajax for this task atall. can anyone please suggest what are other options i can use here ?
...
I am making a jQuery ajax post in a javascript function used by a asp:CustomValidator control. The web method returns a boolean. How do I convert the result make the validation script function correctly.
Client side code
<script language="javascript" type="text/javascript">
function ValidateInput(source, args) {
if($('#MyTxtBox')...
I am using the following CSS class to hide a textbox in an asp:UpdatePanel to accept input from a USB card reader.
<style type="text/css">
.USBBox
{
position: absolute;
left: -999em;
}
</style>
When I click an asp:LinkButton control that is configured to be an asp:AsyncPostBackTrigger for the update panel...
Having a site where you can search with the below snippet, how do you store the history for each search so that a user can press the back-button to get to previous search results and have a populated text-box with the searched values?
<% using(Ajax.BeginForm("TestSearch",
new AjaxOptions { UpdateTargetId = "details" })) { %>
...
Hello,
I've got a nifty problem!
I've created an ASP.NET page with an updatepanel and a trigger on that updatepanel. The trigger updates the panel every 30 seconds.
The problem is that when the trigger updates the panel, IE8 takes the focus from any other program that I'm using.
Does anyone have a solution for this?
This happens in I...
IS the AjaxControlToolkit.CalendarExtender control bindable?
In my eWorld.CalendarPopup you use the database to set holidays, and there are numerous graphical properties. It seems to me that:
the CalendarToolkit has no method to link itself to some database full of holidays
the only way to format the look at feel of the calendar is ...
I created new web project using VS 2008 with enabled Ajax template with C# and Framework 3.5.
I added Ajax reference to the project and I can see all Ajax toolkit in my tool box.
The problem that when I add tab container with Tab Panels then run the projects nothing appear on the browser and I tried few browsers.
I'm including my code...
does it reload the entire page or does it have the intelligence to only send the necessary js to update the needed parts of the page that have changed?
if it does the latter that would be a god send, however im probably being dreamful. it probably returns the entire view without any regard, right?
edit: answer seems to be no, everythin...
Hi,
I'm AjaxControlToolkit's AsyncFileUpload control to upload files to server. It is placed in an UpdatePanel but when someone uploads a new file, a post back occurs. Why a post back occurs while I've put AsyncFileUpload in UpdatePanel?
I've used sample form here and here.
...
Hi all,
I'm creating a webapp for Android mobile phones with ASP.NET and the Ajax Control Toolkit.
I've included a CalendarExtender-Control which popups a calendar when focusing the associated Textbox-Control.
If I select this textbox on my mobile phone, the Android webbrowser highlights it with an orange border. The problem is that th...