How to refresh a page from another page in asp.net?I have one page called Common.aspx.Once i click some button another page(Company.aspx)should refresh.How It possible?
In an ASP.NET application you can store pretty much anything in the Session as long as you can handle the cost. What is the intended usage and what is most frowned upon when using the Session to store data?
Hey guys! I'm using ASP.NET MVC to develop an application for a library with Nhibernate. I've already used Repository and I'll add the Injection dependency. I'd like to know what are the different steps and what should I add to convert my app into a 3-tiered architecture? Thanks a lot for your help :).
I need a list of cultures that are supported by .NET 3.5, regardless of the OS used.
This seems to be quite a struggle to obtain, though I am not sure why!
Edit: Arghh, I was not aware that it is dependent on the OS, that would explain the lack of documentation. Any ideas on what is supported by Mac/Linux OS as well?
Thanks :)
What would be the best approach to migrate a .NET Windows Service to Linux using mono? I've been trying to avoid executing the application as a scheduled command.
Is it possible to obtain a service/system daemon(in linux) like behavior?
How would one add an "id" attribute to Html.LabelFor() in ASP.NET MVC2?
This is my label code:
<%=Html.LabelFor(x => x.FirstName)%>
This is my failed attempt:
<%=Html.LabelFor(x => x.FirstName, new { @id = "first-name" } )%>
Thanks.
What do you think about the advantages/disadvantages of .net 4.0 dynamic types?
are they useful?
do we really need them?
what are their advatages?
thanks
Hi folks,
When someone uses the OutputCache directive in an ASP.NET WebForms/MVC application, does it actually do any caching server-side, like using the Cache or does it only setup some properties in the Response object like the Cache-Control property?
Cheers :)
Can I certainly do this ? If this is possible how do we do this ? What language features of C# 4.0 are tightly bound to the CLR of .net 4.0 framework if any? In case if no features are bound to CLR4.0 can we really use C#4.0 in a .Net3.5 application ?
I need to add some code to the EndInit method of a PictureBox control but unfortunately its private and, from what I can gather, I can't shadow it and call base - at least not in VB.Net.
What I can do is add a dummy property to my picture box class. The type of the dummy property is simply a class that just implements ISupportInitialize. However, that doesn't work, I need the dummy class to inherit from Control.
Is that the minimum requirement?
hi
ASP.NET: Which strategy is better for populating a gridview? filling a Data Table and bind it or using a data reader ? Which one has a better performance?
After I have the initial ASP.NET MVC 2 website and the default Membership provider up, how do I start adding features specific to an user? Like, say, we want to let users choose their favorite products and we want to remember these choices somehow or add a favorite color property to an user?
Where should these customizations go and how should they be associated with the out-of-the-box membership system?
I am looking to write a an asp.net website and would like a good project to use as a basis for getting started. Can someone help point me to some good examples where I can fully download and run the code?
Hi,
I'm been developing Ruby on Rails previously. I'm now looking at an ASP.net web app and I'm looking at WebForms and MVC. As I look at MVC it feels as if I'm looking at the result of something a Ruby on Rails developer implemented after being forced to work in MS land. So I'm wondering:
Was MVC more or less taken directly from Ruby on Rails and it's concepts? (either intentionally or unintentionally)
What is the best way to implement submission forms in asp.net ?
i have to accept some values from user from four different pages and submit the contents as email..
which is the best method to do this ?
is this using masterpage or views or something else???
Note:i am not using any login controls in the form
I want to move my production app to asp.net mvc 2.0, are there any breaking changes or gotchas that I should know about?
thanks for the help.
Is it just a matter of dropping in the newer .dll's?
Heres something I've been pondering for a while ...
Do you struggle with the size and the number of entries in the web.config file? Do you understand every element?
Is it time for Microsoft to relook at how an ASP.NET site is configured, perhaps by splitting the web.config file into multiple files?
Currently I am facing the tedious problem of exporting complete GridView data to the pdf file so that the user can save it. I am using C# as the language in Asp.net. Kindly guide me.
The gridview contains only text values.
Thanks in advance.
I need to do multiple file upload in my asp.net page also have to display progess bar with status of file..It should display the all file progress status bar seperatly and total progess inseperate progess bar.up to the file finish the upoad
cheers!!!
thank
a.ayyappan
I wrote a little WPF app that when 'closed' minimizes to the system tray (customer requirement). Double clicking pops it back up, or right click gives a context menu to exit.
But if the app is minimized, and the users navigate to Start-All Programs-The Application it starts a new instance.
What (in C#) do I need to do to get the app to maximize the running instance if the user does this rather than fire up a new instance?
Thanks!
Is it possible to take a screen capture of a particular area of a web-page from the web-page's own ASP.NET code?
I need to display 6 images that are stacked on top of one another using CSS, and I'd like to offer the user the ability to right-click save-as if possible by stacking the screen capture on top top of the original image stack.
Any thoughts?
Thanks
I am attempting to make a program that will pull data such as OS, IP, Server Name, Websites, Databases, etc. in a server farm. Is there a .Net library that allows you to connect to servers and get information such as this with the proper authentication? I do not really know where to start, thank you.
Most of the servers are 2003 standard/enterprise both x86 and x64.
Hi
I am wondering what good simple IoC frameworks are there for asp.net mvc? that have good documentation and are just easy to get up and going.
Thanks