Search This Blog
Saturday, July 30, 2011
The operation has timed out.
To resolve this problem set the web service timeout at runtime
as below....
SheetCuttingWebService.Service objWeb;
objWeb = new UserInterfaceLayer.SheetCuttingWebService.Service();
objWeb.Timeout = 3600000(mili seconds);
dsPlate = objWeb.GetPlates(origin_id, specification, length, width, thickness, do_number, heat_no, plate_no, drawing_no, certificate_no, percentage_free, balance_wt, order_by_column, user_id, plate_id, reqLengthFrom, reqLengthTo, reqWidthFrom, reqWidthTo, IsDiscarded);
Monday, July 11, 2011
Javascript keyCode
|
|
|
|
Wednesday, July 6, 2011
Sys.InvalidOperationException: Handler must be a function.
...
....
<form id="form1" runat="server">
<asp:ScriptManager ID="sm1" runat="server"></asp:ScriptManager>
<cc1:TabContainer runat="server" ID="tbcTabContainer" OnClientActiveTabChanged="ChangeTab()"></cc1:TabContainer>
</form> Above OnClientActiveTabChanged="ChangeTab()" is not valid. Solution: Change OnClientActiveTabChanged="ChangeTab()" to OnClientActiveTabChanged="ChangeTab"
AutoCompleteExtender with Animation
<ajaxToolkit:AutoCompleteExtender runat="server" BehaviorID="AutoCompleteEx"
ID="autoComplete1" TargetControlID="txtPayorName" ServicePath="~/Public/AutoCompleteService.asmx"
MinimumPrefixLength="1" CompletionInterval="1000" EnableCaching="true" CompletionSetCount="20"
ServiceMethod="GetPayorsList" CompletionListCssClass="autocompleteCompletionListElement"
CompletionListItemCssClass="autocompleteListItem" CompletionListHighlightedItemCssClass="autocompleteHighlightedListItem"
DelimiterCharacters="">
<Animations>
<OnShow>
<Sequence>
<OpacityAction Opacity='0' />
<HideAction Visible='true'/>
<Parallel Duration='.1'>
<FadeIn />
<Length PropertyKey='height' StartValue='0' EndValueScript='225' />
</Parallel>
</Sequence>
</OnShow>
<OnHide>
<Parallel Duration='.1'>
<FadeOut/>
<Length PropertyKey='height' StartValueScript='225' EndValue='0'/>
</Parallel>
</OnHide>
</Animations>
</ajaxToolkit:AutoCompleteExtender>
Tuesday, July 5, 2011
Excel System.Data.OleDb.OleDbException: No value given for one or more required parameter
Solution:
if your Excel connection string contains 'HDR=Yes' then valid columns would be in the first row of the specified Worksheet (or Range). Otherwise, (HDR=No) the column names default to F1, F2, F3, etc.