Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:661881
More Search Options
RSS Available
Matching Posts
Re: Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.
I figured out which this happend. When using TransactionScope, windows uses MSDTC which is a light weight trasaction manager. In my specific case I was also using transaction in the sql server side which completed. When TransactionScope tried to commit() it could not find any open trasaction ans so it gave me the above error. When using DTC always make sure not to use resource manager transaction (in this case sql server).
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
bhav27
on 11/21/2009
Re: Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.
I use TransactionScope within which I call my proc which has its own transaction. Something like this using(TransactionScope ts = new TransactionScope()) { try { for loop { call proc } ts.commit() } catch(exception) { ts.Rollback(); } } I still get same error.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
bhav27
on 8/26/2009
How to avoid button click postback but still perform control validation
Hi all, I am using ASPxCallback control to perform server task on callback. I have standard asp.net button which invokes callback. I also have several standard asp.net validation controls on my page. When I click my button I dont want page to postback so I have following code. <asp:Label ID="lblMessage" runat="server"></asp:Label> <br /> <asp:Button ID="btnAddNew" runat="server" Text="Add Gift Voucher" OnClientClick="ASPxCallback1
Posted to
Web Forms
(Forum)
by
bhav27
on 7/22/2009
ListControl added as child controls does remember selected items on postback
Hi I am get very frustrated while added listcontrol inside my custom server control. Basically, these controls does not remember what items user selected when postback occurs. Just to test this I have created following code. Checkboxlist remembers its items collection but for some bizzare reason does not remember checked items when postback occurs. Please can someone provide me solution or direct me to correct resource; using System; using System.Collections.Generic; using System.ComponentModel;
Posted to
Custom Server Controls
(Forum)
by
bhav27
on 7/4/2009
IPostBackDataHandler methods never gets called
I have server control inheriting from WebControl and implementing IPostBackDataHandler In the CreateChildControls() I add several controls of type ListControl to the controls collection. I need to collect the state of those controls during post back in my business objects which are public properties of this server control. I am trying to collect state in the LoadPostData(), but for some reason I never call this method called. What could be the reason for this method not being called?
Posted to
Custom Server Controls
(Forum)
by
bhav27
on 7/1/2009
Re: CompositeControl not saving child controls viewstate
[quote user="Slipperman"] you might want to repost your problem description (hard to read). no need to put it in a code segment - just use the regular textbox. [/quote] When I tried to insert problem text at the top of code the richtextbox here takes my text as code so I had to put it at the end.
Posted to
Custom Server Controls
(Forum)
by
bhav27
on 6/26/2009
CompositeControl not saving child controls viewstate
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using eBizTakeAway.WebStore.Catalogue; using eBizSuite.Common.Shared; namespace eBizTakeAway.Web.UI.ServerControls { [ToolboxData("<{0}:MenuOptionsConfig runat=server></{0}:MenuOptionsConfig>")] public class MenuOptionsConfig : CompositeControl { #region private members protected MenuOptionCollection
Posted to
Custom Server Controls
(Forum)
by
bhav27
on 6/25/2009
Re: Calling WCF service method when hyperlink is clicked
I think you have understood my question incorrectly. Bascially, my report is as .rdl and viewed in report viewer. One of the report table column has hyperlink. So, when someone clicks on that hyperlink I want to invoke WCF method. I want to reference WCF endpoint in the BI project so that I can call it's methods.
Posted to
SQL Server Reporting Services
(Forum)
by
bhav27
on 6/2/2009
Calling WCF service method when hyperlink is clicked
Hi All, I have SSRS report with one column as hyperlink. I have referenced an assembly to the report which contains a method that invokes WCF service. Is there any ways to call the method of the referenced assembly and pass parameters when someone clicks on the hyperlink?
Posted to
SQL Server Reporting Services
(Forum)
by
bhav27
on 6/1/2009
dynamically adding scriptmanager and updatepanel inside server control
can someone advice what I am doing wrong here when adding scriptmanager and updatepanel inside server control. I get error when adding scriptmanager inside OnInit() that controls collection cannot be modified. Where should I add script manager then? 1 protected override void OnInit(EventArgs e) 2 { 3 _scriptManager = ScriptManager.GetCurrent( this .Page); 4 5 if (_scriptManager == null ) 6 { 7 _scriptManager = new ScriptManager(); 8 _scriptManager.ID = "ScriptManager1" ; 9 _scriptManager
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
bhav27
on 5/27/2009
Page 1 of 10 (96 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online