Are there well-known best practices for synchronizing tasks across a server farm? For example if I have a forum based website running on a server farm, and there are two moderators trying to do some action which requires writing to multiple tables in the database, and the requests of those moderators are being handled by different server...
What is the best way to handle all the newly added documents and items to the SharePoint lists and Document Libraries on Share Point Web Application Level.
My case is that I want to do some insertions to database when any new document or item added.
note:
1- The Site Collections , Web or Sub Sites and Lists are not predefined.
2- I...
Hi
How can i retrieve last updated EmpID form sql database.
...
I want to be able to store variables that are accessible to all of the other files in my ASP.net project but can be modified programatically. What I am looking for is something akin to being able to pull information from the web.config file for say the database connection strings (ex System.Configuration.ConfigurationManager.ConnectionS...
I has image into byte[]. I need to open it into adobe file in asp.net. I using following code :
byte[] bytes = contractimage.Value.Bytes;
if (bytes == null)
{
Response.Write("Not found.");
Response.End();
}
else
{ ...
We're replacing an "old" web application (the original CodeCentral was written over 10 years ago, now running at http://cc.embarcadero.com with over 12.7 million served) that uses a file based cache for serving downloads. The web application manages this file cache.
The only complicated bit of using file-based downloads is updating a f...
I have a controller and I would like to require Authorization for all actions by default except a couple. So in the example below all actions should require authentication except the Index. I don't want to decorate every action with the Authorize, I just want to override the default authorization in certain circumstances probably with a ...
Is it possible to create a Windows Service (background apps accessible in services.msc) application and host an ASP.NET WebService or a Silverlight compatible WebService within it?
I want to create a WebService that performs COM interop calls to something and decided that a Windows Service that interfaces with COM directly as well as ho...
Is there any relationship between Ajax and checking actions in Ispostback,,though both are
doing server checking without loading page
...
hi
i need a free control for my asp.net pages which would display pdf documents,so that the client can view pdf files without the need of installing any pdf. i tried searching in google but all i get is for windows application.
thanks in advance
...
I has disaply a pdf file from byte[] in asp.net.
Problem is that it contains hyperlink, i want to disable or remove these hyperlink events.
...
On Page_Init I create a table of dynamically created controls based on a couple of database tables. One of the controls is an ImageButton for moving an list item up the list. What this event handler does is to update the SortOrder column in the database for the affected items.
Now the problem is that since the controls are created in th...
I have recently had a few issues when checking out a colleagues ASP.NET project, that causes the Project to get into a conflicted state because of the WEBINFO file being checked into SVN.
Does this file need to be in the repository or should we exclude it?
...
I am binding a detail table in DetailTableDataBind event of a Radgrid. The event handler contains code to bind it to a linqdatasource. This adds a bunch of GridBoundColumns to the detail table. However i want some of these to be GridDropdownColumns. How do i go about that
...
I'm adding multi language support to a prototype web site. The site was developed using html lables which I could multilanguage using asp:literal or I could change them all to asp:labels as shown below.
<asp:label ID="lblAddress1" runat="server" Text='<%$ Resources:lblAddress1 %>' /></br>
<label><asp:Literal ID="Literal1" runat="serve...
I have two webparts in two different webpart zones. They provide a Master/Details scenario using gridviews. They are defined using static connections. Initially this works great.
As soon as I close one of the webparts I get the message "You are about to close the webpart. It is currently providing data to other webparts, and these conne...
I have some piece of code in my Website which adds the details into tables. Now I want that if some error occurs the previously entered data should be removed. How can I implement it with the help of transactions??
...
Hi,
I'm creating an ASP.Net website that displays large amounts of data. The data is served to me through a data access layer. From the data I'm getting I'm building up large data tables and then displaying these using either gridview's or dynamically created web controls.
The problem I'm finding is that the website is slow when a lot...
hello
I am new to Silverlight and have decided to give it a go. I have no idea how to create a master page (page.xaml) using Silverlight...
Any help will be appreciated,
Thanks
...
Hi,
I'm trying to use the page control's collection with LINQ.
Whereas this works:
dim l = Me.Controls.OfType(Of TextBox).AsQueryable()
the following return an ArgumentExceptionError:
dim l = Me.Controls.AsQueryable()
I need all the controls. Any help?
Thanks
...