Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


Web Forms :: Ajax Enable The Classic ASP:Calendar Server Component?

Ajax enable the classic ASP:Calender server component?

View 1 Replies (Posted: Sep 19, 2010 10:59 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
How To Refer Com Component In And In Asp Classic
In what purpose we use com component in application If we want to use com component in application how we refer com component and How to refer com component in and in asp classic

Posted: Jun 29, 2009 02:44 PM

View 1 Replies!   View Related
Forms Data Controls :: Back Color Striping - Translate A Classic Asp Component To A 3.5 Chart Control
I am trying to translate a chart from a classic asp componant to a 3.5 chartcontrol. I have two problems so far:

1) (hopefully easy) For the XAxis and YAxis titles (not labels), how do you make these titles bold?

2) (seems impossible with .net) How can I break up the background color so that certain parts of the background are different colors? In the legacy control, the original programmer could drill down control to the y-axis lines for coloring the background.

Example in a Y-axis with lines from 0-100 with 10 intervals:

a) 0-50: the background color would be BLUE
b)50-80:the background would be GRAY
c) 80-100: the backgound color would be RED

As far as I can see, with the .net chart control, you can only have a single color or a single gradient of two colors, but not striped as I am trying to describe above. It seems that if an old classic asp componant has this striping functionality, the .net control has got to have it somehow.

Posted: May 06, 2010 06:06 PM

View 3 Replies!   View Related
Security :: AD Authentication Stand Alone Component For Classic ASP And Legacy 1.1
Searching for out of box authenitcation tool/component that authenticates against Active Directory for Classic ASP AND legacy .NET 1.1 applications.

Posted: Nov 12, 2010 08:58 AM

View 2 Replies!   View Related
Web Forms :: How To Change Calendar Component's Header & Dayheader Texts In Code
Anyone know if it is possible to changeCalendar component's header & dayheader texts in code?

Iknow it is possible withpages LCID setting but can it be done manually?

Reason i need to do this is that i have translationfunctionality in page and i'd like the calendar tobe able translate headers same way. I dont want to change the pages LCIDwith evry language as i want to keep numberand day formats same with all languages.

Posted: Jan 19, 2011 11:16 AM

View 1 Replies!   View Related
Javascript - Localize Calendar Component Of YUI?
I have a question about YUI. I am using YUI calendar component in my website project. I insert the codes inside ASP as javascript. (like that [URL]) Now, i am about to hearing your questions, i am answering them immediately. Yes, this link explains how lo localize YUI calendar, but, it does not work for me. Because, it is static. I want to localize it dynamically. It should depend on user's browser language. For example, if the user's browser language is Deutsch, it is supposed to display 'samstag', if it is English, it is supposed to display 'saturday'.

Posted: Sep 2 10 at 13:03

View 2 Replies!   View Related
How The Component Calendar (even Button) Is Implemented
I was wondering if there's anybody that can give me an idea how the component Calendar (even button) is implemented. Do you know a place where I could see it?

Posted: Jul 11 10

View 1 Replies!   View Related
Calendar - Employee Shift Scheduling Component For C#?
I'm looking for a control I can use in an ASP.NET app for scheduling work shifts. My primary requirement is to have locations on a y-axis, dates on the x-axis, and then at each intersection, have a block divided into shifts, and each shift containing a short (1-3) list of employees working that shift.

Posted: Jan 27 10 at 19:28

View 2 Replies!   View Related
AJAX :: AJAX Calendar Extender - Make Calendar Disappear When Another Calendar Opens?
I am using Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.I am using 2 Ajax Calendar Extender in my page. I am using a text box and html image control and setting the TargetControlID to the test box id and the PopupButtonID to the image control name. When i click the first image the calendar pops up and without choosing a date if i click the second image the second calendar control opens on top of the first calendar control. Is there any way i can make the previous one disappear without choosing a date leaving the calendar control associated with the last image clicked.

Posted: Nov 17, 2010 04:19 AM

View 2 Replies!   View Related
Enable And Disable Calendar Selectable Date?
I havetwo days in a list.WhatI wantis to let these two days selected inblue color and is selectable and then I want to disable all other days in the current month to not selectable.

How can I do that? Here is my code:

foreach (courseSession se in lstSe)

Posted: Jan 28, 2010 08:26 AM

View 4 Replies!   View Related
SQL Server :: AJAX HTML Editor - How To Get Content From Database / Failed To Enable Constraints

I know there are a couple of posts about this already, but I still can't figure it out.

I'm using Table Adapters method called GetBBNewsByNewsID with the following SQL query:

SELECT Description
WHERE (NewsID = @NewsId)

The table has columns: NewsID, Header and Description. I only chose Description cuz that's all I wanted to show.

This is my code (aspx.cs):


The error I keep getting is:

Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

Posted: Jul 16, 2010 07:18 PM

View 7 Replies!   View Related
AJAX :: Using AJAX Calendar Extender Instead Of Calendar Control Possible On ASPX Page?
Currently, I am using Calendar control on ASPX page. Instead, I want to use AJAX Calendar Extender control because of the animation effect and the way it moves between years making if much more impressive than Calendar control.Is it possible to display Calendar extender on page permanently, just like Calendar control?

Posted: Jul 15, 2010 07:44 AM

View 2 Replies!   View Related
AJAX :: To Press The "Enable" Button Twice To Enable A Disabled ComboBox?
I have the following code snippet :


With code behind :[Code]....

Why do I have to press the "Enable" button twice to enable a disabled ComboBox ?

Posted: Feb 28, 2010 02:08 PM

View 1 Replies!   View Related
AJAX :: Enable Action "re Enable" Doesn't Seem To Work?
I'm using an animation, to animate a modal popup extender that resides within a panel. So far it seems to be working relatively well, however, I can't seem to get it to "reset" itself so that it can be used repeatedly. I'm only getting one use and then it looks like I need to reload the page to get it to work again. The target control id is a link button. When I first load the page, the link button is active, like a hyperlink. I can click on the button, the animation does it's thing, and then a close button shuts it down. The link button then turns color like a visited hyperlink, you can click it but nothing happens, no animation. If I reload the page (F5), the link goes active again and it works, but only 1 time. I tried using the Enable Action below, it appears to "reactivate" the link button, but it still doesn't work.


So for some reason, it appears that I need to reload the page.

Posted: Nov 10, 2009 09:23 PM

View 1 Replies!   View Related
Calendar Extender Limit My Date Range On An Ajax Calendar?
I have found ways to validate selected dates when using the calendar extender, but maybe im not searchingcorrectly.. but here is what i want to do..just wondering if it can be done with the calendar extender control.

i have a field which requires the user to pick a date.. i woudl like to limit the dates that can be selected from.. i mean the whole calendar can display, but if iwant them to pick ONLY dates within the last 7 days and 7 days in the future..

Example:Todays date is 11/06/2009 so when they click in the textbox and the calendar opens, the full calendar is displayed.. but the only availble dates to pick from are 10/30, 10/31, 11/1, 11/2, 11/3, 11/4, 11/5, 11/6, 11/7, 11/8, 11/9, 11/10, 11/11, 11/12, 11/13

I dont want to do after they pick a date, i'd like to display their ONLY possible dates.

Posted: Nov 06, 2009 08:57 PM

View 2 Replies!   View Related
AJAX :: Calendar Control - Disable Dates (calendar Extender)?
does anyone know if it is possible to disable some of the dates available for selection. For example, on opening the calendar all the dates before today are grayed out so that it is only possible to select dates in the future.On my site I am using two calendar controls which are representing a start date of an event and an end date. In the end date calendar I would like to disable all dates before the selected start date.Is anything like this possible with the calendar control?e

Posted: Sep 23, 2007 06:50 PM

View 36 Replies!   View Related
VS 2005 AJax Tab Container - Enable The Server Side Not Client Side
I have set the ajax tabs disable on form load. ON button click, I want to enable the tab server side,not client side.

protected void btnEnableCostPetroleumTab_Click(object sender, EventArgs e)
TabContainer2.Tabs[0].Enabled = true;

But its not enabling the tab?

Posted: Feb 4th, 2010, 10:55 AM

View 12 Replies!   View Related
Web Forms :: Master Page Function Listing Component In Child Page (asp:Localize Component)
I would like to know how can I list for every page (child page) selected the number and id of localize component in the current page. I need this to update resources files, a button will be on the master page and when they click on it, they will go to a page which show up every data in the resource file.

Posted: May 18, 2010 01:38 PM

View 1 Replies!   View Related
DataSource Controls :: How To Fail Data Flow Component From Script Component
I am trying to stop the data flow when certain conditions happen in the script component. Like if a row in the data set has an invalid date, I dont want that dataset to be inserted in the tables or go through OLEDB Destination, rather I want the entire data flow for that dataset to stop and go back to the control flow page.

I have tried mulitple solutions but nothing worked. Conditional Split ends up inserting the correct rows, but I just dont want anyting to be inserted when one row is bad, where as I do want the entire dataset to be inserted if all rows are good.

How can I fail the component when certain conditions happen int eh script component.

Posted: Aug 03, 2010 05:20 AM

View 1 Replies!   View Related
Asp Classic - Mimic Server.URLEncode?
Server.URLEncode("+&(). -*<>/|")
' returns %2B%26%28%29%2E+%2D%2A%3C%3E%2F%5C%7C
Uri.EscapeDataString("+&(). -*<>/|")
// returns %2B%26().%20-*%3C%3E%2F%5C%7C
HttpUtility.UrlEncode("+&(). -*<>/|")
// returns %2b%26().+-*%3c%3e%2f%5c%7c

Is there any elegant way how to mimic old ASP behavior in ASP.NET?

Posted: Jan 6 10 at 11:17

View 2 Replies!   View Related
Unable To Connect To SQL Server Through C# Classic?
I am trying connect to SQL Server 2005 through asp classic code something like below :-

Dim query, rs, IMAGES ,conn, con_string
Set conn = Server.CreateObject("ADODB.Connection")
Set con_string = Application("Constr")

But I am getting error with the Connection string.....

Posted: Mar 04, 2009 11:19 AM

View 2 Replies!   View Related
Forms Data Controls :: There Is Already A Component Named ".." Component Must Have A Unique Name
i got a problem.. how i can declare template textbox in a datagrid at code behind? i already make a stored procedure and put the update query inside it.. if i declare the textbox inside code behind(.aspx.vb).. there will be an error.. " there is already a component named "txtitem1"component must have a unique name.."

Dim con As New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString1"))
Dim cmd As New SqlCommand
Dim sda As New SqlDataAdapter
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = "ETendering3"
cmd.Parameters.Add("@item", SqlDbType.NVarChar).Value = txtitem1.Text
cmd.Parameters.Add("@price", SqlDbType.Decimal).Value = txtprice1.Text
cmd.Parameters.Add("@remark", SqlDbType.NVarChar).Value = txtremark1.Text
cmd.Parameters.Add("@consump", SqlDbType.Decimal).Value = txtconsump1.Text
cmd.Parameters.Add("@value", SqlDbType.Decimal).Value = txtvalue1.Text
cmd.Connection = con
DataGrid12.DataSource = cmd.ExecuteReader()
End Try
con = Nothing
cmd = Nothing
<asp:BoundColumn DataField="Listing_Id" HeaderText="Listing"></asp:BoundColumn>
<asp:BoundColumn DataField="No" HeaderText="No"></asp:BoundColumn>
<asp:BoundColumn DataField="Item_Category" HeaderText="Category"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="Description">
<asp:TextBox id=TextBox1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Item_Description") %>'>
<asp:TextBox id="txtitem1" runat="server"></asp:TextBox>
<asp:TemplateColumn HeaderText="Price" FooterText=" 10/50">
<asp:TextBox id=TextBox3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Price") %>'>
<asp:TextBox id="txtprice1" runat="server"></asp:TextBox>
<asp:TemplateColumn HeaderText="Remarks">
<asp:TextBox id=TextBox2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Remark") %>'>
<asp:TextBox id="txtremark1" runat="server"></asp:TextBox>
<asp:TemplateColumn HeaderText="Consumption">
<asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Consumption") %>'>
<asp:TextBox runat="server" ID="txtconsump1"></asp:TextBox>
<asp:TemplateColumn HeaderText="Value">
<asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Value") %>'>
<asp:TextBox runat="server" ID="txtvalue1"></asp:TextBox>

Posted: Feb 10, 2011 01:51 AM

View 38 Replies!   View Related (classic ASP Page) Connects To The MySQL Server
I have a classic ASP page that connects to the mySQL server with the following code:

Set oConnection = Server.CreateObject("ADODB.Connection")
Set oRecordset = Server.CreateObject("ADODB.Recordset")
oConnection.Open "DRIVER={MySQL ODBC 3.51 Driver};; PORT=3306; DATABASE=xxx; USER=xxx; PASSWORD=xxx; OPTION=3;"
sqltemp = "select * from userinfo WHERE emailAddress = '" & theUN & "'"
oRecordset.Open sqltemp, oConnection,3,3
if oRecordset.EOF then

However, i am unable to find anything to connect to mySQL in ASP.NET (VB.NET). I have only found this peice of code that does not seem to work once it gets to the "Dim conn As New OdbcConnection(MyConString)" code:

Dim MyConString As String = "DRIVER={MySQL ODBC 3.51 Driver};" & _
";" & _
"DATABASE=xxx;" & _
"UID=xxx;" & _
"PASSWORD=xxx;" & _
Dim conn As New OdbcConnection(MyConString)
Dim MyCommand As New OdbcCommand
MyCommand.Connection = MyConnection
MyCommand.CommandText = "select * from userinfo WHERE emailAddress = '" & theUN & "'""
I have these import statements also:
<%@ Import Namespace=System %>
<%@ Import Namespace=System.IO %>
<%@ Import Namespace=System.Web %>
<%@ Import Namespace=System.ServiceProcess %>
<%@ Import Namespace=Microsoft.Data.Odbc %>
<%@ Import Namespace=MySql.Data.MySqlClient %>
<%@ Import Namespace=MySql.Data %>
<%@ Import Namespace=System.Data %>
The error is as follows:
Compiler Error Message: BC30002: Type 'OdbcConnection' is not defined.
Source Error:
Line 121: "OPTION=3;"
Line 122:
Line 123: Dim conn As New OdbcConnection(MyConString) '<--error line
Line 124: conn.Open()
Line 125:


Dim MyConString As String = "DRIVER={MySQL ODBC 3.51 Driver};" & _
";" & _
"DATABASE=xxx;" & _
"UID=xxx;" & _
"PASSWORD=xxx;" & _
Dim conn As OdbcConnection = New OdbcConnection(MyConString)
Dim MyCommand As New OdbcCommand
MyCommand.Connection = conn
'MyCommand.CommandText = "INSERT INTO tablename VALUES("val1","val2","val3")"
Dim MyConString As String = "DRIVER={MySQL ODBC 3.51 Driver};" & _
";" & _
"DATABASE=xxx;" & _
"UID=xxx;" & _
"PASSWORD=xxx;" & _
Dim conn As New MySqlConnection(MyConString)
Dim MyCommand As New MySqlCommand
MyCommand.Connection = conn
'MyCommand.CommandText = "INSERT INTO tablename VALUES("val1","val2","val3")"

Posted: Apr 9 10 at 20:18

View 3 Replies!   View Related
How To Debug Classic ASP Pages During AJAX Calls In Website
I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests).We are slowly migrating the website to ASP.NET 2.0 and developing under Visual Web Developer 2005/2008. I notice VWD doesn't debug ASP files. Since we are still migrating a very large website, we are mixing ASP.NET code with classic ASP (ASP.NET pages making AJAX calls to classic ASP pages).In Visual Studio 2003.NET it supported full server-side debugging in all ASP pages. Now, how can I debug the AJAX classic ASP pages? I tried running Visual Studio 2003.NET and attaching it as a debugger to Internet Explorer, but no breakpoints were stopped at.

Posted: Aug 6 09

View 1 Replies!   View Related
AJAX :: Is It Possible To Use A Classic Asp Page To Return Parameters Back The Same As A .NET Web Service
I have site thatI need to have a vendor send an Http Post to us, using querystring parameters, then I have to look up some data and return a few results and parameters back to them. Can this be done using CLASSIC ASP? I ask this because I am still in a learning phase with .NET and have limited resources available to set up a web service.

Posted: Jun 02, 2010 01:49 PM

View 2 Replies!   View Related
AJAX :: Check If A Component Has A Handler?
I'm trying to check if the component already has the event...In my example here, I would like to know if the CollapsiblePanel already has the expandComplete handler before I add the event


Posted: Sep 24, 2010 10:55 AM

View 1 Replies!   View Related
Cannot Create An Instance Of A COM Component On A Server Side
I'm trying to use MS IME on a server to retrieve some Japanese info in a silverlight app. The app accesses to the server by using WCF, but when calling a CoCreateInstance to create a IFELanguage2, it gives me -2147467262. The same code I'm using on the server actually works pretty fine on a WPF app.

Here is the code,

// ...omit
Guid imeGuid;
int errCode = Ole32.CLSIDFromString("MSIME.Japan", out imeGuid);
Guid feLangIID = new Guid(Constants.IID_IFELanguage2);
IntPtr ppv;
errCode = Ole32.CoCreateInstance(imeGuid, IntPtr.Zero, Ole32.CLSCTX.CLSCTX_ALL, feLangIID, out ppv);
WinBase.CheckError(errCode); // errCode is 2147467262
IFELanguage IfeLanguage = Marshal.GetTypedObjectForIUnknown(ppv, typeof(IFELanguage)) as IFELanguage;
errCode = IfeLanguage.Open();
// ...omit

Do I need to setup anything to use the MS IME on a server side? I'm running the app on the following environment, IIS7 .NET Framework 4.0 Windows 7 pro 64 bit VS2010

Posted: Jul 20 10 at 2:44

View 1 Replies!   View Related
What Installed Component On The Web Server Determines ReportViewerControl.axd
When viewing the browser source code of a ssrs report there is a script tag that references Reserved.ReportViewerControl.axd. There is a query string parameter of the version. What installed component on the web server determines that version #? The reason I ask is I am trying to debug a situation where an installation of our web app ( 3.5) cannot print a report ("Unable to load client control..."), but on our internal machines, we can. I do not have direct access to the web server/db server. I can confirm that I can print directly from the Report Manager. I am trying to piece together any differences b/t the two environments, and one thing I am noticing is the different version query string value. Our internal says -


Client says -


I am fairly sure it is the Microsoft Report Viewer Redistributable, but I want to make absolute sure.

Posted: Feb 8 at 0:50

View 1 Replies!   View Related
Web Forms :: How To Enable AutoComplete For TextBox; Data Source Is Table In SQL Server
Basically, I am trying to figure out how to how to enable AutoComplete for textbox which is linked to a table in my SQL server DB. I have the GridView linked to the TextBox. This part works fine. I can type in any criteria, in my TextBox, and see the results in the GridView. However, many users will not necessarily know the names to enter, so I want to enable AutoComplete. I've seen a couple demos online, which seem to link to random stuff, to show how AutoComplete works. This is cool, but I need something a little more practical, because my data is not random. Everything that I want to use for this TextBox needs to be linked to a single Table in my DB. Does anyone know of any good tutorials on the web that demonstrate how to od this. The easier, the better. I know a little ASP.Net and a little SQL Server; not a pro with either.

Posted: Oct 21, 2009 06:12 PM

View 20 Replies!   View Related
Visual Studio :: To Set Up Ajax Toolkit Component?
just start to use 2010,try to set up ajax toolkit compenent,couldnt do it.Is there any article or video?

Posted: Nov 23, 2009 08:31 AM

View 2 Replies!   View Related
AJAX :: Sys.invalidoperationexception: Ctl00_ContentPlaceHolder1_tc1 Component Was Not Found?
Rather strange behavior.I have a web application, which has a aspx page which comrises of master page, user controls, ajax tab control & infragistics grid.This page is opening fine from many clients But this page is not opening on one specific client browser and gives sys.invalidoperationexception: ctl00_ContentPlaceHolder1_tc1 component was not found., with XP & IE 6. Please note that, other client browsers with this configuration in the past never gave this problem. This is the first time in many months I have observed this error.I tried to look for various IE options as well, if it has something to do with scripting setting being enabled/disabled, but could not zero-in on anything specific.Has anyone seen this before and can help me in this regard. Any heads-up on this will be really helpful.

Posted: Jul 02, 2010 10:03 AM

View 2 Replies!   View Related
SQL Server :: Server Cache Dependency Enable Tables?
Using the [Code].... for server cache Dependency, to get a list of the tables that are enabled, We use the line below:


Posted: Aug 25, 2010 08:44 PM

View 2 Replies!   View Related
AJAX :: Ajax Editor Component ?
new to working with ajax and having a issue with the Editor component.I have a large internal website to mycompany and I have a page that I have added the editor control.I also have a button on the same page. In the Button click event I want to do something with the text from the editor control, like save to SQL.But it says Editor1 is not declared, and it is not intellisense anywhere.I have played with this for two days and not any closer to making it work.

Posted: Mar 31, 2010 01:23 PM

View 2 Replies!   View Related
Calendar Gives A 404 But /Calendar/Index Shows The Calendar Page With The Current Month?
I've got two websites. One is a copy of the other, I even went ahead and remade a copy of the original a second time hoping it would alleviate the issue I'm having but it didn't.

On both pages I have a calendar so the route is

Csharp Code:


The issue is on the original site /Calendar works. It shows the Calendar page with the current month. On the copy site /Calendar gives a 404 but /Calendar/Index shows the Calendar page with the current month.

Posted: Nov 24, 2010, 22:19

View 1 Replies!   View Related
AJAX :: How To Change The Tooltips For Each Star In Rating Component
How can i change the tooltips for each star in Rating component? I would like change the numberes to custom text for each star.

Posted: Apr 22, 2010 11:48 PM

View 3 Replies!   View Related
AJAX :: Error In Page Loading - Component Reference Not Found?
I am a new user of the AJAX control toolkit. I have a page that has a collapsible panel that contains tabs. When the page is loading, I sometimes get an InvalidOperation exception saying that it cannot find componentctl00_PageContent_TabContainer1. I do not get this exception every time that I debug the application. Does anyone know why this is occuring and how I can prevent it from happening?

Exception:Sys.InvalidOperationException: Component 'ctl00_PageContent_TabContainer1' was not found.
function Sys$Component$_setReferences(component, references) {
for (var name in references) {
var setter = component["set_" + name];
var reference = $find(references[name]);[Code]....
if (typeof(setter) !== 'function') throw new Error.invalidOperation(String.format(Sys.Res.propertyNotWritable, name));
if (!reference) throw Error.invalidOperation(String.format(Sys.Res.referenceNotFound, references[name]));
setter.apply(component, [reference]);

Posted: Dec 03, 2007 02:59 PM

View 4 Replies!   View Related
AJAX :: Move CURSOR Using From One Component To Another But When Cursor At Ajax Combox It Does Not Working For Combo?
public void ModifyEnter()
combo1.Attributes.Add("onkeydown", "if(event.which || event.keyCode)" +


Posted: Dec 16, 2010 07:30 AM

View 1 Replies!   View Related
AJAX :: Master Detail - Modal Popup Duplicate Component ID Error
This is my main page in which I have collapsible panel and my phone gridview is contained in it. The Initial page loads up properly and shows the gridview. All the errors happen when I select a gridview row for modal popup edit. I get the following errors one after other after ignoring each one of them. I have been struggling with his for almost a week. Following are the sections ofthe main page and thecode in thegridview ascx control. Main GridView User Control Page.


Posted: Sep 10, 2010 04:24 AM

View 1 Replies!   View Related
Enable On The Web Server?
We have installed the .net 4.0 framework and registered 4.0 to IIS using aspnet_regiis, but we keep getting this error when we try to create a new (or upgrade an existing) project on our development box.

"The ASP.NET 4.0 Web extension is not enabled on the Web server. <our site address> is targeting ASP.NET 4.0.

Do you want to enable ASP.NET on the Web Server?"

When we hit "Yes", it pulls up another message of:

"ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly, Press F1 for more details."

Posted: Jul 8th, 2010, 08:26 AM

View 9 Replies!   View Related
Custom Server Controls :: Canceling Postback From JavaScript Client Component Control?
I've created a Composite Control with a JavaScript Client Component. My Composite Control has a TextBox with Autopostback = true (when changed, she postbacks). But, for certain conditions I want to prevent postback. The problem is that from my Client Component I can't interrupt the postback. :-

Before I had a Composite Control I used the onchange HTML event atribute to call a function wich returned false in some occasions to cancel the postback. With the composite control I've added an handler on the client side onchange wich returns false, but it doesn't prevent postback :-

I've managed to workaround this issue by adding, on the server side of the Composite Control, the attribute onchange with the condition: "if (clientComponent.method == false) return false;", which permits the autopostback when the return of the Client Component method is true and abort when the return of the method is false.

I would like to know if it's possible, by any chance, to cancel the postback from whitin a client-side registered event handler for the onchange DOM element event.

I've shared an sample project with the problem. I've comented my workaround.

Posted: Oct 28, 2009 01:40 PM

View 4 Replies!   View Related
Copyright 2005-08, All rights reserved