Click here to Skip to main content
15,914,924 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Can I remove Master Page in the program? [modified] Pin
Michael Sync15-Aug-07 19:57
Michael Sync15-Aug-07 19:57 
AnswerRe: Can I remove Master Page in the program? Pin
ganeshvittal15-Aug-07 20:57
ganeshvittal15-Aug-07 20:57 
QuestionCan't create ASP controls from shared function Pin
chris_wanaka15-Aug-07 16:51
chris_wanaka15-Aug-07 16:51 
AnswerRe: Can't create ASP controls from shared function Pin
Michael Sync15-Aug-07 17:30
Michael Sync15-Aug-07 17:30 
GeneralRe: Can't create ASP controls from shared function Pin
chris_wanaka15-Aug-07 18:10
chris_wanaka15-Aug-07 18:10 
QuestionSetup project with custom actions Pin
steve_rm15-Aug-07 7:47
steve_rm15-Aug-07 7:47 
Questionmisc asp.net questions [modified] Pin
algoaddict15-Aug-07 7:27
algoaddict15-Aug-07 7:27 
AnswerRe: misc asp.net questions Pin
Jpuckett15-Aug-07 7:44
Jpuckett15-Aug-07 7:44 
1. <asp:placeholder runat="server" id="phSomething">
content goes here
in the codebhind we set the visibility


CODEBEHIND:

if contained within a repeater or someother control: Page.FindControl("phSomething");

otherwise just:

protected void Page_Load(object sender, EventArgs e)
{
phSomething.Visible = true;
}
protected void On_Some_Event(object sender, EventArgs e)
{
phSomething.Visible = false;
}

Something to remember, the PlaceHolder control does not remember the contents of it between postbacks. So if it is needed to retain information across post backs, you can set all data to a session variable or cookie, or host the placeholder inside an AJAX Update panel and post back Asynchrously.

2. This isn't ASP.NET particularly... However you can set the "MinMaxClose" toolbar to not visible and that should help make it more difficult. I'm not a WinForms expert Wink | ;)

3. The process of widgets in ASP.NET (this is an ASP.NET forum) is more or less using XML web services to pass data or "consume" a webservice. I dont exactly know what all you mean here, the <object> tag dates back to HTML 3.0 or even earlier... It's more or less a Web Standard nowadays.

4. OR is a keyword that is used in conditional statements.

Let's say that we want to make an if statement:

If(Algoaddict_Posts_ASPNET_Forums OR Algoaddict_Posts_Anywhere_Forums)
Algoaddict_Answered = true
EndIf

In C#:

if(Algoaddict_Posts_ASPNET_Forums | Algoaddict_Posts_ASPNET_Forums)
{
Algoaddict_Answered = true;
}

In this case, OR returns a boolean true if either case returns true. Thus, you were answered. Smile | :) For more information, you can see MSDN Documentation on CONDITIONAL STATEMENTS and BOOLEAN OPERATORS.



--EDIT

Darn! You modified the questions!

4. Not really possible, no. However, you can create a vb class and call that class from inside a CS file.
GeneralRe: misc asp.net questions Pin
algoaddict15-Aug-07 8:16
algoaddict15-Aug-07 8:16 
GeneralRe: misc asp.net questions Pin
Jpuckett15-Aug-07 8:54
Jpuckett15-Aug-07 8:54 
Questionproblem with code downloaded from codeproject [modified] Pin
algoaddict15-Aug-07 9:34
algoaddict15-Aug-07 9:34 
QuestionAccessing Web User Controls Pin
Brendan Vogt15-Aug-07 6:21
Brendan Vogt15-Aug-07 6:21 
AnswerRe: Accessing Web User Controls Pin
ToddHileHoffer15-Aug-07 7:13
ToddHileHoffer15-Aug-07 7:13 
QuestionProblem with scalar variable [modified] Pin
aqzman_15-Aug-07 6:09
aqzman_15-Aug-07 6:09 
AnswerRe: Problem with scalar variable Pin
Guffa15-Aug-07 7:06
Guffa15-Aug-07 7:06 
GeneralRe: Problem with scalar variable Pin
aqzman_15-Aug-07 7:44
aqzman_15-Aug-07 7:44 
AnswerRe: Problem with scalar variable Pin
Guffa15-Aug-07 13:52
Guffa15-Aug-07 13:52 
Questionproblem in work with javascript Pin
mr.mohsen15-Aug-07 5:57
mr.mohsen15-Aug-07 5:57 
AnswerRe: problem in work with javascript Pin
leckey15-Aug-07 6:14
leckey15-Aug-07 6:14 
GeneralRe: problem in work with javascript Pin
mr.mohsen15-Aug-07 7:15
mr.mohsen15-Aug-07 7:15 
AnswerRe: problem in work with javascript Pin
Guffa15-Aug-07 7:11
Guffa15-Aug-07 7:11 
AnswerRe: problem in work with javascript Pin
ToddHileHoffer15-Aug-07 7:14
ToddHileHoffer15-Aug-07 7:14 
Questionproblem in work with javascript Pin
mr.mohsen15-Aug-07 5:56
mr.mohsen15-Aug-07 5:56 
AnswerWTF? Pin
leckey15-Aug-07 6:11
leckey15-Aug-07 6:11 
GeneralRe: WTF? Pin
Steve Echols15-Aug-07 18:23
Steve Echols15-Aug-07 18:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.