|
|
Hi all,
I need to have two different menu items. One for the top and one for the left. I was trying to connect web.sitemap to top and web1.sitemap to left menu.
Both menus getting data from web.sitemap file. Although, I have SiteMapDataSource1 for top menu, and SiteMapDataSource2 for left menu.
thanks.
|
|
|
|
|
|
hi i have a custom authentication used from
http://brianlegg.com/post/2011/05/09/Implementing-your-own-RoleProvider-and-MembershipProvider-in-MVC-3.aspx
i need to show a list of online users , can anyone help
|
|
|
|
|
|
Hi,
I would like to open a pdf file in a web browser. I tried the below, but its not working. Please let me know how to open it.
<object type="application/pdf" data="C:\Lalitha\Bloomberg\TablesProject\Copy.pdf" width="500" height="650" ></object>
|
|
|
|
|
You clients browser will decide whether or not to open the pdf file or offer a download functionality, but hey! here goes the answer:
<a href="/TablesProject/Copy.pdf">Download file</a>
Caution here! It's never a good idea (security large hole) to offer a full file path like you have done in the orginal post which is why i changed it in my solution.
Happy coding,
morgs
|
|
|
|
|
Thanks for your reply, Morgs..
anchor tag showing only a link. I need to open the file in the web page itself. It should not open as a separate process..
|
|
|
|
|
Have you tried my solution? when you click the link, the browser will open the pdf file for you in the browser, if the browser does not know how to open your file, it will offer it for download. e.g.
http://www.edb.utexas.edu/minliu/multimedia/CSS.pdf[^]
I don't think you are going to find any other way around this, oh well you can always try something after one thing fails.
Happy coding,
Morgs
|
|
|
|
|
Yes, the pdf file opened in a browser.. I agree with you. But I need it in some specific area as shown in the below link.
http://www.cs.tut.fi/~jkorpela/html/iframe-pdf.html[^]
When I tried the same using iframe tag, its not working. Its showing blank rectangle.
<iframe src="C:\TablesProject\Copy.pdf" width="60%" style="height:10em" align="right">
<a href="C:\TablesProject\Copy.pdf">the document</a>
</iframe>
|
|
|
|
|
And when Acrobat Reader is configured to open as a stand alone application, you cannot do that.
|
|
|
|
|
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File \\?\C:\inetpub\wwwroot\omaxe\web.config
Requested URL http:
Physical Path C:\inetpub\wwwroot\omaxe
Logon Method Not yet determined
Logon User Not yet determined
Config Source
117: </modules>
118: <handlers>
119: <remove name="WebServiceHandlerFactory-Integrated"/>
how to resolve this problem?
|
|
|
|
|
|
Thanks for your reply.But my problem is solved.
modified 23-Nov-11 23:57pm.
|
|
|
|
|
now I imported all tables of aspnetdb to my another database using aspnet_regsql command. it is ok. then
In this database, I created only other user info table (including userid, name...) , beside aspnetdb's aspnet_Users table.
Creating New user is also inserting into both tables. It is OK.
now what I want to ask is:
after one user is logged in, i want to take this userid and name and
take them to another page using QueryString.
how I have to do?
please help me.
|
|
|
|
|
You already have the idea of using query string to pass your parameters to the next page and all you could have done is googled how to use query string, let's see if this helps:
Response.Redirect( "home.aspx?userid=" + userid.Text + "&name=" + name.Text() )
and on home.aspx page load event you can retrieve your parameters from the query string like so:
if( Request.QueryString[ "userid" ] != null && Request.QueryString[ "name" ] != null )
{
String userid = Request.QueryString[ "userid" ];
String name = Request.QueryString[ "name" ];
}
else
{
}
Want more:
Passing variables between pages using QueryString[^]
Happy coding,
Morgs
|
|
|
|
|
Hi I am new to Microsoft visual we developer express.
I have several computers, and have started a website on one and would like to be able to work on it with all of my computers. So my question is can this be done? and how?
Thanks in advance
[edit] fixed typo and grammer
Frazzle the name say's it all
|
|
|
|
|
frazzle-me wrote: I have several computers, and have started a website on one and would like to be able to work on it with all of my computers. So my question is can this be done? and how? Frankly your question is confusing. Are you talking about hosting the site in one system(Server) & want to see the site in other systems(client)? If yes then its possible. You need to host the site using IIS[^]. If no then edit & update your question.
|
|
|
|
|
Thank You for Your reply.
I was talking about the source files, not the web site.
I did figure it out. sorry I didn't post on the subject. I just shared the folder on My network.
1st web site is finnished! wooo hoooo!
Now to try web application, then MVC.
My first Wpf application is annother story.
Frazzle the name say's it all
|
|
|
|
|
I have a Web application (ASP.NET WebForms) . I want it to be able to display an image and perform the following manipulations with it:
- To Zoom In / Zoom Out the image. There must be a scrolling when the image is zoomed in
- To Rotate (Flip) the image on 90 degrees
I can use only HTML+JavaScript for this task. I CANNOT use Java applets, Flash or Silverlight
Is there a control/JavaScript/anything that provides this functionality? I have already looked at DevExpress for this and found nothing
|
|
|
|
|
Hello,
To open many aspx pages in my application il use parameters and sometimes the user name and password as required. For instance :
Response.Redirect("subscribe.aspx?From=LoginUser&UserName=" & txtUserName.Text & "&UserEmail=" & txtEmail.Text & "&UserPassword=" & txtPassword.Text)
the probem is that after running this code the URL become :
Response.Redirect("subscribe.aspx?From=LoginUser&UserName="toto" &UserEmail=" toto@yahoo.fr"&UserPassword="totototo")
You undertand this is not a ggod thing because user can see theses information and worse google can record thes infos.
Is there any way to crypt URL Informations?
Thanks in advance
|
|
|
|
|
|
I want to import all tables of ASPNETDB to my own SQL database.
how to combine two sql database?
|
|
|
|
|
You should rephrase that.
1. You want to export the database on the server to a database on your personal computer?
2. You want to copy a database on your server to a SQL database on your server?
3. You want to copy a third party database on the web to your sql database on your personal computer?
I want to help, but the 3 different scenarios are 3 different solutions.
|
|
|
|
|
In a website a DataTable is stored as an entry in the Cache object. On each page load some rows from the table may be removed based on some criteria and also RowFilter property of its default view is manipulated and some fields of the table are set. The question is as the DataTable object and DataView object are not thread safe for write operations ,what is the best way to prevent simultaneous changes to the table stored in cache. lock statement ? is it an expedient way ? or copying the table stored in cache and doing writes on that ?...
A good advise from an erudite programmer is welcomed. Thanks in advance .
|
|
|
|