Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:740834
More Search Options
RSS Available
Matching Posts
Re: Question about website templates
Hi, You can use any sort of html, xhtml, template designed in asp.net. best Regards Ali Sufyan
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: hi..........
Hi , Well to make it simple and accessible by all users, place the object in application variable. Lets take an example of a hit counter, this is something, that should be modifyable and accessible by all users, make a variable Application["counter"]=0; in global.asax file. if you cannot see global.asax file in project files list then you can creat a new one from the menu, and in Application_Start method, add application variables. Similarly, you can place objects in Application variable
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: C# to VB conversion help.
Hi Sir, Well as far as i see, you are evaluating a string, and then typecasting it in a object of class "News" and want to get the title object of the news. It is doable, but in different ways. You can do it like this Create a method in class getTitle(string News), which takes news as input and return the title then call the code from aspx as below <%#Server.HtmlEncode(News.getTitle(Eval("News")).ToString())%> This will do it. Other wise if you want to do it your way then
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: C# to VB conversion help.
Hi Sir, Well as far as i see, you are evaluating a string, and then typecasting it in a object of class "News" and want to get the title object of the news. It is doable, but in different ways. You can do it like this Create a method in class getTitle(string News), which takes news as input and return the title then call the code from aspx as below <%#Server.HtmlEncode(News.getTitle(Eval("News")).ToString())%> This will do it. Other wise if you want to do it your way then
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: Is it possible to fire the on click event of a login button in login control by pressing ENTER button?
Every control has accessKeys property, try using that
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: must declare a body because it is not marked abstract or extern
private UserCredentials _UserCredentials; public UserCredentials UserCredentials { get { return _UserCredentials; } private set { _UserCredentials = value; } } Look auto implement properties are new in .net 3.0 onwards, so cannot use those in 2.0 framework. Use above code, that will work in asp.net 3.0 onwards you can declare properties like this, private UserCredentials _UserCredentials; public UserCredentials UserCredentials { get ; private set ; } The line above i crossed is also not required
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: Error saving XML file
Hi, You are trying to save the xml document on Virutal path that is not allowed by security doc.Save(@"\\ServerName\FolderName\Form-" + uniqueName + ".xml"); try this doc.Save(Server.MapPath("") + @"/ServerName/FolderName/Form-" + uniqueName + ".xml"); I do hope this helps you Best Regards
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: wnt to convert variable nagative to Postive
Hi, say X is the variable in which the hour time difference was and it is negative you can make a check like this if(X < 0) { X=X*-1; } this check will ensure that value is positive. i hope this helps best regards
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: Dynamic page layout
Hey, Thousand ways to do it, Simplest way is to make user controls. Make seperate controls for news, and other web parts. This way there would be some abstraction in the controls. Now create seperate edit modules for the components to change there properties. say make a config xml file for each component in which store properties for that specific control, news in our case. Then from admin end make an interface to update that file properties. I hope this helps a bit Best Regards
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/7/2009
Re: Communication of two exe is possible in asp.net 3
Yes you can by using .net remoting. Its similar to java RMI, any help required i am here
Posted to
Getting Started
(Forum)
by
AliSufyanButt
on 9/5/2009
Page 1 of 46 (451 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online