Web Forms :: Make The TransactionOption Configurable?

Nov 20, 2010

I am using the TransactionScope in my project

Here is the code

[Code]....

In the above code i am setting the transactionOption ie: IsolationLevel, timeout inc code

1) How to make the transactionOption Configurable ?

2) I checked some forums the timeout problem occurs how to solve that ?

3) Whether the Transaction should use only when there is a transaction take place (ie: payment ) , for example can I use the TransactionScope to Insert some value to Database ?

View 15 Replies


Similar Messages:

C# - How To Make A Webparts Settings Configurable In Sharepoint

Jan 4, 2010

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am publishing a portal template.

I want to develop a WebPart and make some settings configurable (just like we can configure parameters for a console application in app.config)

For example, authorized users could set parameters of WebPart in Edit Page (from browser based UI interface), then Select -> Modify WebPart properties, or edit parameters in SharePoint Designer.

The parameters would be application specific parameters.

How do I go about doing this?

View 3 Replies

Make Mvc Configurable Html.ActionLink Controller / Method

May 7, 2010

I have ascx partial view with html-layout like that

<%=Html.ActionLink<PersonController>(x => x.Publications(param1, param2, ... )) %>

My ascx is pretty big & I'd like to reuse it, changing controller/method in Html.ActionLink with another controller/method. Method of another controller has the same signature as PersonController.Publications. Whats best way how to make controller/method configurable for my layout.

View 1 Replies

Making A Web Service Reference Configurable?

Jan 26, 2010

We inherited some code that makes use of a web service on an external server from a third party. Currently all the references are done in the project directly and thus compiled to that location and such. This issue we have is that there is a test and production server for the web service with different URLs.

Is there a simple means to make the web reference more dynamic so that it can be defined in a web.config and not require changing the actual source and recompiling to switch between servers?

View 1 Replies

AJAX :: Making Custom Accordion / Just Make A Button That Would Hide First Pane But Cant Get To Make It Work?

Sep 3, 2010

I would like to make a custom accordion, in which I have 2 panes, but where you couldn't open the second one until you clicked a validation button in the first one that would open the second...

I tried to just make a button that would hide the first pane but I cant get to make it work.

[Code]....

[Code]....

View 7 Replies

C# - How To Make The Content Of The Popup Make A PostBack Only When It's Appeared

Jan 29, 2011

I have a user control is shown through a SimpleModal popup (JQuery), this user control gets some data from database and displays them (the details of a record).

The problem is that this user control makes a round-trip to gets the data every PostBack for the parent page even it's hidden.

I wonder if I could make it gets its data only if the popup is appeared.

I tried to put it inside a Panel with false for Visible property and change it to true when I open the popup, but it stil call Page_Load which gets the data from database!

View 2 Replies

Way To Make A Label Visible For A Seccond And Then Make It Visible =false?

Apr 16, 2010

there is a way to make a label visible for a seccond and then make it visible =false ; ?without javascript... just c# ,,,

View 4 Replies

Web Forms :: How To Make Dll In Web Application

Mar 5, 2011

Now a days my company started using some third party tool in our web application they aslo instructed to our team to make the dll for every web application

The steps for creating the dll for web application?

View 4 Replies

Web Forms :: How To Make A Div Movabale

Jun 24, 2010

i have div with fe controls in my asp.net application.

when i click a button this div is visible at a particualr location.

i need that by dragging the div i shld be able to place it at a some other location as desired by the user.

View 6 Replies

Web Forms :: How To Make Sitemaps

Apr 24, 2010

where i can learn how to make sitemaps..

View 2 Replies

Web Forms :: Want To Make Dot Net Blog?

Apr 20, 2010

Guys I want to make a blog like http://www.hanselman.com/blog

is there is any solution like wordpress in dot net ? or we have to write our own code in it

what hanselman is using

View 1 Replies

Web Forms :: How To Make Menu Rtl

Apr 26, 2010

i got a menu from the tool box (in vs 2008)it's all working nice ... but now i want to make it open right to left .... i change the style property " direction = "rtl" " it didnt worked well ... the father menu item is rtl and the son menu item is rtl but the grandson is ltr !!! still ..... how can i convert the hole menu (especially the grandson menu items to RTL RTL RTL !!! )

View 2 Replies

Web Forms :: How To Make Searchable RSS

Dec 3, 2010

i have a newswebsite, i need to make RSS for my news website to increase the page rank on Search Engins like Google.

1. how can i make an RSS to be readable by search Engins,
2. can i make the RSS for a single page so i increase the rank for this page when search by Google.

View 1 Replies

Web Forms :: Make Validators Red Again In .net 4?

Jan 11, 2011

I recently upgraded my web app to .net 4 and was surprised to see that the validator controls are no longer red. People are calling up all confused because they can't see the error messages now.Any idea how to fix this in one go? I know I can do a kludge like forecolor=red on every single validator control, but that's ugly. I don't want to go back to <pages controlRenderingCompatabilityVersion="3.5" /> because it's time to move forward, but I do want validator controls people can actually see.

View 2 Replies

Web Forms :: Make Encrypted Url In .net?

Oct 12, 2010

I want to Generate encrypted url in my .net application

I want show Encrypted url instead of actual Folder path ..

For Example

[URL]

View 3 Replies

Web Forms :: How To Make WebService API

Jan 5, 2014

We have sql database for more than 50,000 subscribers with us. Now many people approaching us to get our database access and wants to integrate it with their website through API or webservices.

My requirement is how can develop webservices or API of my sql database so other companies can integrate it with their website and access our updated database.

View 1 Replies

Web Forms :: How To Make File Downloadable

Mar 24, 2011

I am generating a text file on server. I want this file to be able to get downloaded by clients accessing the site. Like, when the file is generated a link should appear on the page that says,"Download the File". Clicking that will run a code that will download te file and save it on client's PC. How to do this?

View 3 Replies

Web Forms :: How To Make DLL Of Class Files

Apr 16, 2010

I am working on a web project(asp.net with c#),In app_code there are 10 class files(.cs). I want to make only one DLL of these files. How can i do this.

View 6 Replies

Web Forms :: Image Not Appearing - How To Make It Appear

Dec 22, 2010

Can you look at the page [URL] and tell me why the image at the top nav bar next to "subscribe | give a gift | customer service | " is not working? The link works, the page appears to be fine, but the image is not showing.

Here is the code (excerpt). I added the store link and image...

[Code]....

View 9 Replies

Web Forms :: Trying To Make A Reservation Page?

Jun 11, 2010

i am trying to make a reservation page now i need to control the date i.e only last 2 days should remain clickable from today onwards i.e if today is 11th june the user can select(9th june and 10th june)the only last two dates in the following month and same year and obviously rest of month date should remain un-selectable for him i tired this but its making unselectable even today's date Void Calendar1_DayRender

[Code]....

View 4 Replies

Web Forms :: How To Make A Dynamic Sitemap

Jan 27, 2010

I need to make a sitemap with all the products i have in database.

I can make it easly in aspx web file, but is it better if i make it in Web.sitemap file? Would search engines find it?

And if is better to make it in Web.sitemap, how can i create siteMapNode for each product i have (and i add) in database?

View 12 Replies

Web Forms :: How To Make User Control

Jul 14, 2010

I want to make a user control showing links to " HOME ABOUT US CONTACT US" horizontally, but doing it using gridview,I could make it only vertically.

View 3 Replies

Web Forms :: Make Static Component Through IDE

Jul 21, 2010

I am new to Visual Web Developer Express Edition 2008 as well as to asp.net. I think this is very simple question to be asked on this forum. But, i can't find a solution for this. I want to make TextBox Component as static through IDE. i don't want to do this manually. I have checked Textbox component's properties through Property Window. But, i haven't seen the property making a component as static.

View 4 Replies

Web Forms :: How To Make The Slideshow In Webpage

Feb 20, 2011

how we can make the picture slideshow in a webpage with forward and previous button?

View 6 Replies

Web Forms :: How To Make Navigation Menu

Jul 11, 2010

I'd like to make navigation menu like one in [url=http://www.eveonline.com/]here[/url]. I thought about using TreeView, but I couldn't make "collapse" indicators to disapear. If I set ShowExpandCollapse property to "false" those indicators disapear, but tree becomes expanded and static. That's not what I want to achieve.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved