First i opened an window by the above method, new window is opened. Again try to open an new window from the opened window but this time new windows is not opened. instead of pageis opened in the same windows. i need to open in a new window.please help me.
i am new user of asp.net. i given a link name form.pdf and i given a link like this <a href="form.pdf">form</a>
when i click on this link of form there is problem shows format error. not a PDF or currepted. while working very well on my machine (localhost) when i upload my site on server this problem occurres.
plz help me
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
During the web development some time we need to add dynamic controls to a web page. Mostly developer’s face problems with dynamically added controls that they can’t get the event as the page post back.
I was also struggling with this issue and at the end I have found two possible solutions
1:- Add the control on page_Init
private void Page_Init(object sender, System.EventArgs e)
Seeing that you claim this is a solution, if i were you i wouldn't post it as a question but rather write an article on the topic at hand. There's a facility to write articles on CodeProject, try that maybe?
Not sure if this is the right forum or not, but I thought I'd ask away.
Our product is thick client/server architecture. We have created a Web-based interface for our product using ASP.NET which does some basic lookups/field changes. We want to take it a step further and create a custom control within a webpage to show our floor-plan module.
Our thick client is written in C/C++, and I realize that in order to do what we want, we would need to port this code over to something a little more browser friendly.
What language/tools would give me the ability to:
a) Have a canvas where I can custom draw lines, shapes etc.
b) Get Click, Mouse Move events
.. All within a web-browser?
Any help/links you could provide would be great.
I'm pretty good with C# however I can't figure out ASP.NET with C#. It's not the C# bit that gives me headaches but the ASP stuff. I have the following problem.
I've created an ASP website ( not entirely true, I used one of VS2010 templates ) and it's has login functionality. I'm using a Postgresql database in the backend and I can login fine. My Site.Master page got buttons in it, but I want a whole new series of buttons when the user has logged on correctly. I've created a new .aspx site that needs to load with a new Master Page. So I've created a new master page, called Site1.Master. It's pretty much the same as Site.Master but it allows me to use different buttons. But for some reason the login information is not display when this new page is loaded. Only after I hit 'F5' on my keyboard ( refresh ) it will show the info and the page works properly.
[ <ahref="~/Account/Login.aspx"ID="HeadLoginStatus"runat="server">Log In</a> ]
[ <asp:LoginStatusID="HeadLoginStatus"runat="server"LogoutAction="Redirect"LogoutText="Log Out"LogoutPageUrl="~/"/> ]
</LoggedInTemplate></asp:LoginView></div><divclass="clear hideSkiplink"><asp:MenuID="NavigationMenu"runat="server"CssClass="menu"EnableViewState="false"IncludeStyleBlock="false"Orientation="Horizontal"><Items><asp:MenuItemNavigateUrl="~/Default.aspx"Text="Terug naar Huis"/><asp:MenuItemNavigateUrl="~/About.aspx"Text="Over van alles en nog wat"/></Items></asp:Menu></div></div><divclass="main"><asp:ContentPlaceHolderID="MainContent"runat="server"/></div><divclass="clear"></div></div><divclass="footer"></div></form></body></html>
Often, when a problem is "fixed" by a browser refresh, it's because of caching (in the browser or in the proxy). If the "new" page has the same name as the old page and the timestamp of the aspx itself hasn't changed (like it has a new master or CSS or something else external to it), the browser will just say to itself "I already have this in my cache. Not gonna bother downloading another copy."
Yeah, okay, it's doing a HEAD before a GET, and if the HEAD isn't different from the last HEAD it got, it won't do anything. But that's a boring way to put it.
Just like that old Carly Simon song...
"You're so funny,
You probably think this joke is about you"
I suspect that the issue is with the Server.Transfer - try swapping it out for a Response.Redirect..
Server.Transfer only (IIRC) changes the "context" on the server, so as far as the server's concerned, you're on that page, but as far as the client is concerned, you're still on the original page. Response.Redirect should keep the browser end in check too.
C# has already designed away most of the tedium of C++.
hello i have developped an asp .net website, but the password manager/autocomplete feature on ie9 does not work. Although it works fine on firefox 6 and chrome. Has anyone else encounteres this problem?
1). Only Alpha, Numeric and hyphen's allowed.
2). Change '_' to '-'.
3). Remove the '_NUMBER' directly after the manufacturer name and before the '/'.
4). Remove the '_NUMBER' directly after the product name and before the '.htm'.
5). Remove the '.htm' and replace with a '/'.
It needs writing into the code below please as a permanent 301 redirect:
iam working on asp.net web site
i have issue from client that i didn't work on it before
they want when internet is offline they work normal & store data
when internet become online they work online & the data they enter offline is moving to online database
is that mean i must have database local & another 1 is on line
or how i'll do something like this
they access application from many duifferent location i need any help
Well, your issue can be done by architets of database and software developement, in general view it can be done by 2 centralized databases, first database which is online and second is setup in any server and whenever user lose internet connection applaiction should do CRUD data on server, when internet connection is avaliable all data from local server should transfer on online database.
I Love T-SQL
"VB.NET is developed with C#.NET"
If my post helps you kindly save my time by voting my post.
I am new to working with C#.net 2010 professional version using asp.net programming. I do have a little experience using C#.net 2008 on a desktop application.
I have the following questions:
1. I am looking for good references that I can use to learn to write an application that has all code in contained in aspx, cs, and js files. I will be writing some new webpages that are suppose to be written similar to the existing ones. (Have the same look and feel.) There is a main internet web page that everyone logs on to by supplying the user name and password. From the main page, the user selects what webpage the want to work with.
2. I need to come up with a 'graphic representation' of what the new web page is suppose to look like. Is there some way using visual studio.net 2010 asp.net version where I can draw what the page would look like? If so, could you point me to a book and/or a link that I can use as a reference to learn how to draw what the web page will look like?
Last Visit: 31-Dec-99 19:00 Last Update: 5-Dec-21 17:07