|
Fine I will Just answer it myself. Make the dropdownlist, The id of your list item is the name of the page (ie .aspx). The text is the name you want to show in the list. Now since the page with the dropdownlist is the main page use all the other pages to obtain the controll that you want using the ctype(previouspage.find controll),textbox). There you have it when you select an item the correct page opens and has the controll info you need. As for me I use this to open each system to allow my users to change the systems using the information on two controlls in the main page. The controlls Identify the owner of those systems. Hope it helps someone else. Let me know what you think
|
|
|
|
|
hi
i use forms authentication for web application in asp 2
but in some systems with win xp os
users cant loged in to systems and redirect to login page with out login errors
note: in this systems cookies is on
please help me
|
|
|
|
|
what is the login error users get?
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
no error message and no nothing only redirect to login page
thanks
|
|
|
|
|
I have created a login system and put the restricted page in folder. using asp.net configuration => Security tab (Visual Studio 2005) i have allowed access to only users. Ananymous users should not be able to view that page. However it doesnt let me view that page at all. i get the following error:The resource cannot be found. does any one have any ideas where i may have gone wrong. I hope th edescription of the problem is clear
|
|
|
|
|
Hi there,
I have 1 Label (message), 2 Buttons (AddButton and RemoveButton) and 1 Textbox. When someone enters him/her e-mail to the Textbox:
if AddButton is clicked
E-mail address is adding to the database and Label gets value "You have added successfully"
if RemoveButton is clicked
E-mail address is removing from the database and Label gets value "You have removed successfully"
While Adding or Removing operation is processing
UpdateProgress writes "Processing..."
Everything works fine at the first adding and removing. If I repeat adding or removing without leaving web page, Label remains with exists value and when the operation is done (removing or addind), Label gets correct value. Sounds not bad but I want to set Label value to null while Processing. I wirte a line at the beginning of AddButton_Click and RemoveButton_Click but nothing changed...
The following codes are in the .aspx page:
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<font size="3" color="#008800">Processing...</font>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="message" runat="server"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="AddButton" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="RemoveButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="mailtxt"
ErrorMessage="Not proper e-mail address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><div class="search_field">
<div class="search_form">
<asp:TextBox ID="mailtxt" class="search" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="mailtxt"
ErrorMessage="***" Font-Bold="True" Font-Size="Medium"></asp:RequiredFieldValidator><br /><br />
<asp:Button ID="AddButton" class="submit" runat="server" OnClick="AddButton_Click" Text="Add" />
<asp:Button ID="RemoveButton" class="submit" runat="server" Text="Remove" OnClick="RemoveButton_Click" /><br />
The following codes are in .aspx.cs file:
protected void AddButton_Click(object sender, EventArgs e)
{
message.Text = ""; //or message.Text=string.Empty;
...........................
}
protected void RemoveButton_Click(object sender, EventArgs e)
{
message.Text = "";
...........................
}
Do you have any idea about what should I do?
Thanks a lot...
|
|
|
|
|
I have solved this problem using AjaxControlToolkit...
<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender1" TargetControlID="UpdatePanel1" runat="server">
<Animations>
<OnUpdating>
<FadeOut AnimationTarget="UpdatePanel1" minimumOpacity="0" />
</OnUpdating>
<OnUpdated>
<FadeIn AnimationTarget="UpdatePanel1" minimumOpacity="0" />
</OnUpdated>
</Animations>
</cc1:UpdatePanelAnimationExtender>
In UpdatePanel1, there is a label which shows status. When it is processing, label text turns to nearly blank.
|
|
|
|
|
Hi,
I'm still talking about Questions an it's answers, I have database containing 2 tables, the Questions and the Answers, I'm trying to filter the Question and it's answer together to appeare like one row in GridView but the answers will be appeare in radio button to enable select one right answer, I'm asking IS that possible, and if it is, How we can do it.
Regards
Mr.Wonderful
|
|
|
|
|
Not sure whether this can be done with a GridView, but you could achieve the required results using nested Repeater controls. The outer Repeater control would display the main list of questions. The nested Repeater control would display a list of radio buttons representing the available answers to questions. This Microsoft article[^] explains how to do this.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
ASP.NET Service Application
Shimi
|
|
|
|
|
Shimi Weitzhandler wrote: ASP.NET Service Application
What? Do you mean how can you use the membership and roles providers in a winforms application? If so, you need to add a reference to the system.web entries for the membership and roles providers into your app.config file. You also need to add a reference to System.Web in your application.
|
|
|
|
|
|
I have two buttons on a form for navigating forward and backward. In each button I set the text to "<<" and ">>". when I open the page it correctly displays two less than and two greater than symbols in each navigation button.
However when I look at the source for the page it shows the less than as the escape codes but the greater than as the actual symbols themselves. No problem it seems for a desktop browser however, and this is the only way I would have ever noticed this, it chokes a cell phone browser as I'm working on XHTML standard pages. The cell browser gets confused by those actual greater than symbols even though they are in quotes.
Any idea why IIS serves up > as the actual symbol but < as the escape sequence (it's the text="" property of a server control button)?
When everyone is a hero no one is a hero.
modified on Wednesday, January 16, 2008 12:34:32 PM
|
|
|
|
|
When I developed the website, I had put the classes which needs to be accessed throughout the application in App_Code. Now when I develop a web application, I don't see App_Code folder.
Am able to drop them in App_GlobalResources folder and it works but I read it is for the global resource files.
What is the best practice and where should I drop the class files?
Thanks
|
|
|
|
|
Hi there,
1) Right click on the project in the solution explorer
2) Choose Add ASP.NET Folder --> Choose App_Code
Now you can add your classes there
Best Regards
3ala2
|
|
|
|
|
That is not possible since ASP.Net folder consists of only App_GlobalResources, localresources, Data, Browsers and Theme.
On a web application, am not able to add App_Code.
On a web site, as you said, am able to.
Where should I drop the global class files on the web application?
Thanks
|
|
|
|
|
You are correct, there is no option for App_Code, I just ran into this the other day. You can simply make a folder manually by that name and asp.net will recognize it as something to be compiled separately.
However if you are making a web application rather than a web "site" it won't matter where you put the classes as they will be compiled into the entire assembly anyway.
When everyone is a hero no one is a hero.
|
|
|
|
|
hi friends,
please suggest me a nice project title for my final year project. i decide to done my project in asp.net please suggest the title and abstract for project in asp.net
thank u
shalini
|
|
|
|
|
You are kidding right? Surely you have found something that interests you in the course of your studies that you can expand into your final project?
|
|
|
|
|
The project should be called.
"The greatest web appication ever created"
I didn't get any requirements for the signature
|
|
|
|
|
How about a random project title generator?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Befitting choice.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I am developing a website and I am expecting about thousands of database requests per minute, my database stores simple text, all requests are READS.
Now, I am using Microsof Access Database (JET) as my database provider, but I heared that this type of database cannot handle such great load of requests, so what is the best choice of database for this application?
Thanks you,
Mohammad Gdeisat
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Surely u muct replace the access database, u can use Microsoft SQl Server database, it can handle that load but if you are expecting more than SQL Server can handle choose Oracle.
As for me I mostly use Microsoft SQl Server and all is going well
Enjoy
Best Regards
3ala2
|
|
|
|
|
Thank you 3ala2 for you answer,
If you are an experienced ASP .NET developer and if you are a Muslim, then I would like to invite you to take Ajr and work with me to develop a very important idea about Quranic documentation on the Internet, this is used to document all Quran and Hadith content in the Internet to face the mis-quoting content from Quran and the Sunnah. The idea is very new and very unique.
if you are interested email me at (mohgdeisat #at# hotmail #dot# com)
Regards
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|