Hi dears, We know after installing atlas framework , we can develope atlas website projects. Now if I develope a .Net WebSite project(not a atlas website project) how can I use atlas technology in my website ?
immori
Posts
-
atlas configuration problemmm -
How to define event for a page? [modified]Hi my dears, I`ve written a Web UserControl which has a timer with interval and elapsed event. and I want to raise an event in Timer elapsed method. then I defined a delegate and an event in my Web UserControl . Now I should register this event to my default.aspx page and catch the raised event from my web userControl in a method in my default.aspx page. But I dont know how to register event in aspx page! the code I used is :
//my UserControl named reminder.ascx public delegate void myDelegate(string s); public static myDelegate myEvevnt; protected void Page_Load(object sender, EventArgs e) { System.Timers.Timer myTimer = new System.Timers.Timer(); myTimer.Elapsed += new System.Timers.ElapsedEventHandler(myTimer_Elapsed); myTimer.Interval = 3000; myTimer.Enabled = true; } protected static void myTimer_Elapsed(object source, ElapsedEventArgs e) { myEvevnt("hhh"); } //************************************* // my default.aspx page public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { _Default.Event += new reminder.myDelegate (RecieveEvent);//my question is here.What should I write ??? }
-- modified at 3:17 Wednesday 8th November, 2006 -
ConnectionString Problem!!!hi dears, I upload my database to my sql server 2000 host( a server on the internet) and have a website project in VS2005 with a connectionString like this "Persist Security Info=False;User ID=myUser; Password=myPass;Initial Catalog=myDataBaseName;Data Source=sql.myserver.org" . when I run my website on my pc I can connect(!!!) to database and show data in app, but when I upload my website to my hosting area I can`t connect!!! what should I do to fix this problem ? Regards,
-
ConnectionString Problem!!! [modified]error message is : Login Faild! the problem is I can connect from my pc , but when I upload the site it`s impossible...!
-
ConnectionString Problem!!! [modified]hi dears, I upload my database to my sql server 200 host and have a website project in VS2005 with a connectionString like this "Persist Security Info=False;User ID=myUser; Password=myPass;Initial Catalog=myDataBaseName;Data Source=sql.myserver.org" . when I run my app on my pc I can connect(!!!) to database and show data in app, but when I upload my website I can`t connect!!! what should I do to fix this problem ? Regards, -- modified at 17:53 Thursday 2nd November, 2006
-
regular expression for regular expression validator [modified]for case (A) use : [\w@_]{3,7}
-
How to upload multiple filesHi dears, I want to use several upload file controls in several pages like avatar uploader and file uploader ...! Now I want to configure web.config to set maximum lenght of uploaded files for these 2 control . how can I do that ? thx,
-
what doies .sln file do exactly and wht it contains ?anything in .NET is a solution! a solution contains one or more projects such as web project,win project, class library project etc. if you lose .sln file you can easily make a blank solution and add your existing projects to it ! ;)
-
How to show a gif progress image during image uploadcheck it!
-
Atlas Configuration problemm!Hi dears, I want to use Atlas Controls in my web project . but my project is an ASP.NET web site project ,not an Atlas WebSite Project. Now,when I add atlas tool kit refrences to my project an error accures means compiler can not recegnize the '
< atlas:ScriptManager>
' tag! how can I fix it ? Regards, -
How to resize an image file ???thx but an error occurred with this message : A generic error occurred in GDI+ I think the file is used by another proccess so it cant rewrite it...?!
-
How to resize an image file ???Hi dears, I have an uploadFile server control (in asp.net 2.0) which is uploades users images . how can I upload selected image to server by changing its height and width to a specific size and then save it? plz help me regards,
-
About Connection stringOfcurse its better to save in web.config. because if you deside to change it , you have not to recompile your app and upload dll file...!
-
Problem in GridView -
Display Data in GridView Asp.Net 2.0just do that
< asp:GridView ID="gv" runat="server"> < Columns> < asp:TemplateField> <%#DataBinder.Eval(Container,"DataItem.YourFirstColumnName") %> <%#DataBinder.Eval(Container,"DataItem.YourSecondColumnName") %> <%#DataBinder.Eval(Container,"DataItem.YourThirdColumnName") %> <%#DataBinder.Eval(Container,"DataItem.YourForthColumnName") %> < /asp:TemplateField> < /Columns> < /asp:GridView>
-
How to Count Online Visitors in ASP.NET 2.0 ?Hi I want to count my website online visitors . then I used these codes and set the
< sessionState >
element mode to "InProc" in web.config. but when a user exits from site the counter dosent decrease !!!! in fact the event Session_End doesnt raise!!!! plz help me!void Application_Start(object sender, EventArgs e) { Application["accesses"] = 0; Application["users"] = 0; } void Application_BeginRequest(Object sender, EventArgs e) { Application.Lock(); Application["accesses"] = (int)Application["accesses"] + 1; Application.UnLock(); } void Session_Start(object sender, EventArgs e) { Application.Lock(); Application["users"] = (int)Application["users"] + 1; Application.UnLock(); } void Session_End(object sender, EventArgs e) { Application.Lock(); Application["UsersOnline"] = (int)Application["UsersOnline"] - 1; Application.UnLock(); }