In a previous question I found out how to create a plugin architecture for MVC. I'm not the whole way down that path yet but I do have a nice way of splitting things up.
One thing that is bugging me though is the intellesense for the View when they are in the Class Library. Developing them in the core MVC project and then copying them a...
Hi,
After reading Jeff's article about the importance of sitemaps, so I decided to generate one for my dynamic website.
I saw some articles about how to implement it with ASP.NET but every solution I saw showed how to generate it on the fly with an HTTP Handler.
But that solution means that every time someone asks for the file, my cod...
Hi all,
We have a web application where we are using global.asax for url rewriting. We use a compiled version of the site on the live server.
As a part of modification request, we had to add some custom native AJAX code where javascript would call a webservice to update the content of the page. For being able to call the webservice wi...
Is there any way through which I can get HTML of my current page. By current page I mean let's say I am working on Default.aspx and want to get HTML by providing a button on it.
How to get it.
...
In your development environment, do you install a local SQL express or a dedicated SQL server? What are the pro/con's of these two options?
From my own experience so far:
Local installation slows down the own development workstation due to resource consumption
Local installation is easier to debug/manage
Dedicated installation eases c...
Hi all,
I am pretty new to the whole javascript thing. I have a gridview that I want the user to be able to hover over the whole row (believe its the whole TR) and be able to click anywhere and that would be able to select that row. I need teh server side code to be able to know which row was clicked.
I don't really know where to sta...
We have a simple datagrid. Each row has a checkbox. The checkbox is set to autopostback, and the code-behind has an event handler for the checkbox check-changed event. This all works as expected, nothing complicated.
However, we want to disable the checkboxes as soon as one is checked to prevent a double submit i.e. check box checked...
I'm using CollapsiblePanelExtender from AjaxControlToolkit, it works fine when i click on it, but it won't expand all the way on the initial page load (expands about 90%).
I have to collapse it and expand it back manually for it to open up all the way.
I don't have the ExpandedSize property set, because the panel content is dynamic.
...
I'm working on a site which the client has had translated into Croatian and Slovenian. In keeping with our existing URL patterns we have generated URL re-writing rules that mimic the layout of the application which has lead to having many non-ascii charachters in the URLs.
Examples š ž č
Some links are triggered from Flash using getURL...
I have a generic collection of type MyImageClass, and MyImageClass has an boolean property "IsProfile". I want to sort this generic list which IsProfile == true stands at the start of the list.
I have tried this.
rptBigImages.DataSource = estate.Images.OrderBy(est=>est.IsProfile).ToList();
with the code above the image stands at the ...
We are currently considering using DotNetNuke as a base for our future portal-based and client-customizable web application that is going to be hosted centrally. The idea is to make the dynamic parts as DNN modules that in turn talk to backend WCF-services which takes care of the business processing and data storage.
What are your good/...
My javascript is
function Show1()
{
//document.getElementById("Popup_tooltip").style.overflow="auto";
document.getElementById("Popup_tooltip").style.display="block";
}
function Hide1()
{
/* hide the pop-up */
document.getElementById("Popup_tooltip").style.display="none";
}
my css for...
Is there a way to configure ASP.NET in IIS7?
I know this must be a stupid question, but in IIS7 I see an icon for ASP. Is this configuration for Classic ASP?
Thx, Lieven Cardoen
...
I'm spending time breaking up URLs into protocol://domain:port/path/filename but there must be a built in class, all I can find is System.Security.Policy.Url
...
In a project I'm doing I had severe problems in the weekend. Our application runs in a Custom Browser (.NET Console Application with IE component). At the end of the application Flex does three calls to Weborb.aspx. After this the application closes. There are some 300 sessions closing at the same time, so 900 requests to weborb.aspx at ...
Howdy,
I have a web application which needs to support multiple languages. We currently have quite a lot of images on the site with text in them. Im trying to find a way to localize these images with the least amount of hassle. What i have come up with so far is to add sub folders to the current /Images folder which relate to the requ...
I'm trying to build an "edit" page for a database record that can be edited and saved back to the database. One of the fields will be a multi-select listbox that will need to highlight the appropriate list items in a hard-coded list when loaded.
Using C#, how do I populate a multi-select listbox -- with the appropriate items selected -...
I have a set of pdf files stored in the location accessible only by the application - so those files cannot be accessed directly via http.
The file paths are stored by the database and when the user is given the option to download a file the code as below is being executed:
Response.ContentType = "Application/pdf"
Response.AppendHead...
On a UserControl in asp.net webforms, Why do the controls within the usercontrol (TextBox, DropDownList, etc.) have to be declared as protected in the code-behind. Is there runtime inheritance occuring with webforms?
...
First off, my Environment:
VB.NET .NET 2.0
AJAX Update Panels also used around webpart zones.
I have a masterpage and default page.
Default page has WPM and two Zones.
each webpart is just a shell and a usercontrol is used for A & B
I have two webparts, A & B. (Usercontrols)- A has a number of buttons.
B has a listbox & Subs which popul...