I want to add some code that runs when a new user is registered on a DotNetNuke site. There is a custom registration module, and I could add code to that. My concern is this registration module is still a work in progress thats not really in my control. Someone could break the code I add or do something unexpected.
Is there another g...
In this MSDN article (Chapter 6 — Improving ASP.NET Performance), it says the following:
"Avoid Asynchronous Calls Unless You Have Additional Parallel Work
Make asynchronous calls from your Web application only when your application has additional parallel work to perform while it waits for the completion of the asynchronous cal...
Duplicate of: What’s the difference between a worker thread and an I/O thread?
What is the difference between an I/O thread and an Worker thread in IIS/ASP.NET? How do these concepts affect the design of an ASP.NET app?
...
Does anything like this exist?
What I am looking for is a control that is going to be client-side, with the Edit, Cancel row capabilities of a GridView.
I wish to use it to collect the data from the user and then save on the server after the user is done entering data.
EDITED:
Thanks for all the recommendations. One thing that I wo...
I am trying to make a grid of thumbnails using a datalist. I have an array of the imageurls and I want to bind them in the code behind. How would I go about do that? I want the datalist to have a max column size of 5 and add rows of thumbnails until completed.
<asp:DataList ID="dlImages" runat="server"
RepeatColumns="5"
...
Trying to automap some objects.
Source objects has properties with _ before name, destination objects - have not.
Is it possible to implement ONE map creation, that automapper would map all _properties to properties
for all source types.
class MyMapper<TFrom, TTo>{
TTo PerformMap(TFrom fromObject){
Mapper.CreateMap<From, To>...
Our site just moved from .NET 1.1 to .NET 3.5, and in the process updated our 3rd party server controls. One of these packages uses javascript provided via WebResource.axd. These are included as normal <script src="" /> tags.
Watching the traffic, however, I see that these javascript files are coming across with headers that prevent cli...
Other than using a web service, is there anyway to call a method in a web app from a windows application? Both run on the same machine.
I basically want to schedule a job to run a windows app which updates some file (for a bayesian spam filter), then I want to notify the web app to reload that file.
I know this can be done in other way...
The code below works perfect for binding actual urls grabbed from the net. My issue is that it does not work for *.aspx urls that generate an image. If I go to the *.aspx page "~/UserPages/Photo/GetThumbnail.aspx?id=7", an image shows up just fine. However it does not work for the datalist. Any ideas why and how I can solve this issue. T...
Can you tell me when will use CustomValidator. For eg I have Textbox that accept comments from the user. Any reason why the CustomValidator would fit in scenario and what other validators cannot do or is difficult to do?
...
Ok I have been working on this gallery for some time and I keep getting little tidbits. It is now time to finish it off. I have a datalist which binds to an array of *.aspx image urls that contain a thumbnail id that is sent through the url. I now need to implement an onclick event, that when a user clicks on a photo, it brings them to t...
When applying the MVP pattern to ASP.NET applications, where does using AJAX to post data fit? Of what I know of the MVP pattern, the UI is simply that(appearance), and all the heavy lifting is done in the presenter. I don't see how you could follow the pattern and still use AJAX interacting with web services on the client. Does anyon...
I'm looking at improving the performance of page load and render time of a rather complex ASP.NET site.
Due to the use of a lot of ASP.NET controls that themselves include javascript files (by simply using the script-tag) certain pages load the same javascript up to 10 times. Additionally, some javascript must be loaded early in the pag...
What is the proper way, or perhaps can someone explain what is the difference between those three below? (I've seen people using jquery in their examples, and each one of them brings jquery into asp.net in a different way)
1.Page.ClientScript.RegisterClientScriptInclude(typeof(demo), "jQuery", ResolveUrl("~/js/jquery.js"));
2.
<asp:Sc...
Yesterday a colleague asked me how to display data in a grid where the built in data binding doesn't support what he wants to do for some of the columns.
Pleased to be able to help I explained all about the OnRowDataBound event and how you can hook into it and dynamically manipulate the cells in the row object to do pretty much what you...
Hi!
I have two tables which looks like this:
News: (ID, Title, TagID)
Tags: (ID, Tag)
Each news can only have one tag. What is the most effective way to handle inserts to the news table? The Tags table has like 50 000 rows.
I'm only doing bulk inserts of approx. 300 news at a time, around 2 times per hour. I assume that i need some ...
I am allowing users of the admin panel of my website to upload photos, its a simple process where I check the validity of the image and then save it to a folder, then I also have to record a couple of database records for that image to be able to retrieve it later, my saving function is as follows...
The function that uploads and saves t...
hi let me explain in brief.
I have a url - "http://Domain.com/FolderName/Default.aspx?EditID=6" with query string.
I need to show that url like below
"http://Domain.com/FolderName/Name"
...that means I want to remove "Default.aspx?EditID=6" part from url and want to replace it with some name ...
Can you help me.
Thanks in adva...
hi guys,
I have date in format dd/mm/yyyy .I have to change to mm/dd/yyyy in codebehind of vb.
Can anybody help to chenge the format.
...
I have a simple Sitemap like this from asp:SiteMapDataSource:
Page 1 > Page 2 > Page 3
I would like to create foreach loop in C# that generates it instead for using asp:SiteMapPath because I need to add some exceptions to it. Now I cannot figure out how do I loop backwards from SiteMap.CurrentNode to SiteMap.RootNode?
...