472,372 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,372 software developers and data experts.

Can't able to use RequiredScripts why..???

I have a problem in writing a coustom Control in Atlas toolkit...

I had been following Shawn Bruke's tutorails for this ....

he had give the code for extender.cs as


using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using Microsoft.Web.UI;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.AtlasControlExtender;

#region Assembly Resource Attribute
[assembly: System.Web.UI.WebResource("AtlasToolkitDemo.Opacit yBehavior.js", "text/javascript")]

namespace AtlasToolkitDemo
[ClientScriptResource(null, "opacity")]
public class OpacityExtender : ExtenderControlBase<OpacityProperties, Control>
public OpacityExtender()
this.RequiredScripts.AddScriptReference(FrameworkS cript.AtlasUIGlitz);

================================================== ================

I was not able to use the same logic in my project since

There is no RequiredScript for me in the namespaces i use...

then i came across the note that "RequiredScripts property on ExtenderControlBase has been deprecated. Move to RequiredScriptsAttribute before next refresh. "

But even that is not available for me..

please help me out..

the code i was writng is....

================================================== ==

Imports System
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports AtlasControlToolkit

#Region "Assembly Resource Attribute"
<Assembly: System.Web.UI.WebResource("AtlasToolKitDemo.Opacit yBehavior.js", "text/javascript")>
#End Region

Namespace AtlasToolKitDemo

<Designer(GetType(OpacityDesigner))> _
<ClientScriptResource(Nothing, "opacity")> _
Public Class OpacityExtender
Inherits ExtenderControlBase(Of OpacityProperties, Control)
Sub New()
Me.. I am having problem here

End Sub
End Class

End Namespace
Nov 2 '06 #1
0 978

Sign in to post your reply or Sign up for a free account.

Similar topics

by: SiuLoBow | last post by:
Hi, Is there anyway to detect the ActiveX control is able to run on the browser or not? After I installed the ActiveX control to my system, user sometimes switch the secruity setting to "not...
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and...
by: Miernik | last post by:
On my Debian GNU/Linux system I have Python 2.3 installed in /usr/lib/python2.3/ where most Python system files like /usr/lib/python2.3/gzip.py /usr/lib/python2.3/gzip.pyc...
by: muttu2244 | last post by:
Hi all, Am trying to read a email ids which will be in the form of links ( on which if we click, they will redirect to outlook with their respective email ids). And these links are in the...
by: Mark Jerde | last post by:
I need to call a Win32 DLL. The API supports both Windows and Linux, but I'm only concerned with Windows. I'd like advice whether I can use C# or whether I'll have to dust off my old C++ books. ...
by: PJ | last post by:
I'm at the end of my rope, I've tried everything I can think of and, while the problem is all over google, no answer has worked for me. I'm getting the following error while trying to start my web...
by: bill yeager | last post by:
I did some more debugging and found the following: 1) I placed the following code in the button event just to see if I could cycle thru the datagrid control collection: <code> Dim strhello As...
by: Mr. SweatyFinger | last post by:
where have they all gone. alt.suicide? alt.findContol.then.slit.your.own.throat?
by: =?Utf-8?B?U2hhcm9u?= | last post by:
I'm using the VScrollBar and set it as follow: m_vScrollBar.Minimum = -19602; m_vScrollBar.Maximum = 0; m_vScrollBar.SmallChange = 1; m_vScrollBar.LargeChange = 1089; m_vScrollBar.Value =...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.