|
We are in the process of developing an inventory tracking system and one part of this system is the automation of the Change of Location (COL) form. We have the database developed; we have the electronic form developed; we are now at a halt because we need this web service in order to move forward.
1We are in need of a web service to transmit information between Sharepoint and an Infopath form.
2.We will set up your web service as a data connection and work with the form through this connection
|
|
|
|
|
|
Hi,
My procedure return multiple result set. I need to assign it to generic list.
How can i work a generic list like dataset do?
I am using it in web service, so i avoid using dataset. I want the result in List<>
Thankyou
YPKI
|
|
|
|
|
How about returning a list of XmlDocuments.
Inside each node, you can store anything you want.
Maybe not the best idea, but it should work.
Good luck.
|
|
|
|
|
<dxpc:ASPxPopupControl ID="mdlFileDupCheck" runat="server" PopupHorizontalAlign="WindowCenter"
CloseAction="CloseButton" PopupVerticalAlign="WindowCenter" AllowDragging="True"
EnableAnimation="False" AutoUpdatePosition="true" EnableViewState="true" ShowHeader="false"
ClientInstanceName="mdlFileDupCheck" Modal="true" ShowPageScrollbarWhenModal="true" BackColor="#F3F3F3">
<ContentCollection>
<dxpc:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
<dxp:ASPxPanel ID="Panel1" runat="server" CssClass="box nomargin">
<PanelCollection>
<dxp:PanelContent ID="PanelContent1" runat="server">
<asp:Panel runat="server" ID="pnlFileDupCheck" DefaultButton="btnFileDupCheck" Style="width: 825px;
display: ">
<asp:Button ID="btnFileDupCheck" runat="server" Style="display: none;" />
<dx:ASPxPageControl ID="pageControl" runat="server" ActiveTabIndex="0" Width="100%"
TabSpacing="9px" CssPostfix="myTheme" OnActiveTabChanged="pageControl1_ActiveTabChanged"
AutoPostBack="true">
<ClientSideEvents TabClick="function(s, e) {
var index=s.GetActiveTabIndex();
if(index==e.tab.index)
{
e.Cancel = true;
}
else
{
LoadingPanel.Show();
}
}" />
<TabPages>
<dx:TabPage Text="File Information" TabStyle-Width="135px">
<ContentCollection>
<dx:ContentControl ID="ContentControl4" runat="server">
<div class="withborder">
<div class="box nomargin">
<table cellpadding="0" cellspacing="0" style="width: 100%" border="0">
<tr>
<td class="cFormHeader">
<h3>
Enter File Information</h3>
</td>
<td class="required" align="right">
* Required
</td>
</tr>
</table>
<div class="hr">
</div>
<div class="cMessageArea">
<asp:Label ID="lblMdlErrorMsg" runat="server" CssClass="cError"></asp:Label>
</div>
<table class="cChildTable" width="100%">
<tr>
<td style="width: 10%">
<div class="required">
*<asp:Label ID="lblFile" runat="server" Text="File #:" CssClass="cLabel"></asp:Label>
</div>
</td>
<td style="width: 50%">
<asp:TextBox ID="txtFileNumber" runat="server" CssClass="cText" Width="150px" MaxLength="40"
TabIndex="1"></asp:TextBox>
</td>
<%----%>
</tr>
<tr>
<td style="width: 10%">
<div class="required">
*<asp:Label ID="lblOffice" runat="server" Text="Office:" Width="" CssClass="cLabel"></asp:Label></div>
</td>
<td style="width: 50%">
<asp:DropDownList ID="ddlOffice" runat="server" CssClass="cSelect" AutoPostBack="true"
TabIndex="6" OnSelectedIndexChanged="ddlOffice_SelectedIndexChanged" Width="380px"
onchange="LoadingPanel.Show();">
</asp:DropDownList>
</td>
<td style="width: 15%">
<div class="required">
*<asp:Label ID="lblUnderwriter" runat="server" Text="Underwriter:" Width=""
CssClass="cLabel"></asp:Label></div>
</td>
<td>
<asp:DropDownList ID="ddlUnderwriters" runat="server" CssClass="cSelect" OnSelectedIndexChanged="ddlUnderwriters_SelectedIndexChanged"
AutoPostBack="true" TabIndex="9" Width="150px" onchange="LoadingPanel.Show();">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 10%">
<div class="required">
*<asp:Label ID="lblState" runat="server" Text="State:" Width="" CssClass="cLabel"></asp:Label></div>
</td>
<td style="width: 50%">
<asp:DropDownList ID="ddlJurisdictionStates" runat="server" CssClass="cSelect" TabIndex="7"
OnSelectedIndexChanged="ddlJurisdictionStates_SelectedIndexChanged" AutoPostBack="true"
onchange="LoadingPanel.Show();">
</asp:DropDownList>
</td>
<td style="width: 15%">
<div class="required">
*<asp:Label ID="lblAccount" runat="server" Text="Account #:" Width=""
CssClass="cLabel"></asp:Label></div>
</td>
<td>
<asp:DropDownList ID="ddlAccount" runat="server" CssClass="cSelect" TabIndex="10">
</asp:DropDownList>
</td>
</tr>
</table>
<div id="divDuplicateFiles" runat="server" visible="false">
<div class="Space">
</div>
<div class="cFormHeader">
<h3>
File # Validation</h3>
</div>
<div class="hr">
</div>
<div class="Space">
</div>
<div class="cMessageArea">
<asp:Label ID="lblDuplicateFileMsg" runat="server" CssClass="cError" Text="">
</asp:Label>
</div>
<div class="Space">
</div>
<div>
<dx:ASPxGridView ID="dgDuplicateFile" runat="server" AutoGenerateColumns="False"
EnableCallBacks="False" Visible="True" Width="100%" KeyFieldName="FileId" OnHtmlRowCreated="dgDuplicateFile_HtmlRowCreated"
OnBeforeColumnSortingGrouping="dgDuplicateFile_BeforeColumnSortingGrouping" OnPageIndexChanged="dgDuplicateFile_OnPageIndexChanged"
OnRowCommand="dgDuplicateFile_RowCommand">
<Columns>
<dx:GridViewDataTextColumn FieldName="FileId" Visible="False" VisibleIndex="0">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn Caption="File #" FieldName="FileNumber" VisibleIndex="1">
<HeaderCaptionTemplate>
<div class="cGridHeaderLink" onmouseout="RemoveMouseOverClass(this)" onmouseover="addMouseOverClass(this)">
File #</div>
</HeaderCaptionTemplate>
</dx:GridViewDataTextColumn>
<dx:GridViewDataColumn Name="Office" Caption="Office" VisibleIndex="2" FieldName="Office"
CellStyle-HorizontalAlign="Left">
<HeaderCaptionTemplate>
<div class="cGridHeaderLink" onmouseover="addMouseOverClass(this)" onmouseout="RemoveMouseOverClass(this)">
Office</div>
</HeaderCaptionTemplate>
<DataItemTemplate>
<div>
<asp:Label ID="lblOfficeName" runat="server">
</asp:Label></div>
</DataItemTemplate>
</dx:GridViewDataColumn>
<dx:GridViewDataDateColumn Caption="Open Date" FieldName="OpenDate" VisibleIndex="3"
Settings-SortMode="Value" SortOrder="Descending" SortIndex="1">
<PropertiesDateEdit DisplayFormatString="MM/dd/yyyy" EditFormat="Custom" EditFormatString="MM/dd/yyyy"
UseMaskBehavior="true">
</PropertiesDateEdit>
<HeaderCaptionTemplate>
<div class="cGridHeaderLink" onmouseout="RemoveMouseOverClass(this)" onmouseover="addMouseOverClass(this)">
Open Date</div>
</HeaderCaptionTemplate>
</dx:GridViewDataDateColumn>
<dx:GridViewDataTextColumn Caption="Address" FieldName="FullAddress" VisibleIndex="4">
<HeaderCaptionTemplate>
<div class="cGridHeaderLink" onmouseout="RemoveMouseOverClass(this)" onmouseover="addMouseOverClass(this)">
Address</div>
</HeaderCaptionTemplate>
</dx:GridViewDataTextColumn>
<dx:GridViewDataColumn Name="ProductDesc" Caption="Buyer/Seller" VisibleIndex="5"
FieldName="Buyer" CellStyle-HorizontalAlign="Left">
<HeaderCaptionTemplate>
<div class="cGridHeaderLink" onmouseover="addMouseOverClass(this)" onmouseout="RemoveMouseOverClass(this)">
Buyer/Seller</div>
</HeaderCaptionTemplate>
<DataItemTemplate>
<div>
<asp:Label ID="lblBuyerSeller" runat="server">
</asp:Label></div>
</DataItemTemplate>
</dx:GridViewDataColumn>
<dx:GridViewDataColumn VisibleIndex="6" Caption="Action">
<HeaderCaptionTemplate>
<div class="cGridHeaderStyle">
Action</div>
</HeaderCaptionTemplate>
<DataItemTemplate>
<div class="cLinkButton">
<asp:LinkButton ID="lblFileOpen" runat="server" Text="Open" CommandArgument="Open"
CommandName="Open" />
</div>
</DataItemTemplate>
<Settings AllowSort="False" />
</dx:GridViewDataColumn>
<dx:GridViewDataTextColumn FieldName="FirmLocationId" Visible="False" VisibleIndex="7">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn FieldName="FileExists" Visible="False" VisibleIndex="8"
SortOrder="Descending" SortIndex="0">
</dx:GridViewDataTextColumn>
<dx:GridViewDataTextColumn FieldName="FirmLocationJurisdictionID" Visible="False"
VisibleIndex="9">
</dx:GridViewDataTextColumn>
</Columns>
<Styles Header-CssClass="dxgvHeader" HeaderPanel-Cursor="hand">
<RowHotTrack BackColor="#DAE0E6">
</RowHotTrack>
<Header CssClass="dxgvHeader">
</Header>
<Cell>
<BorderRight BorderStyle="None" />
</Cell>
<HeaderPanel Cursor="hand">
</HeaderPanel>
</Styles>
<SettingsPager AllButton-Visible="true" FirstPageButton-Visible="true" LastPageButton-Visible="true"
PageSize="10" Position="Top" ShowDefaultImages="true">
<AllButton Visible="True">
</AllButton>
<FirstPageButton Visible="True">
</FirstPageButton>
<LastPageButton Visible="True">
</LastPageButton>
</SettingsPager>
<SettingsDetail IsDetailGrid="True" />
<SettingsBehavior AllowSort="true" EnableRowHotTrack="true" ProcessSelectionChangedOnServer="True"
SortMode="Custom" />
<Styles Cell-BorderRight-BorderStyle="None">
<RowHotTrack BackColor="#dae0e6">
</RowHotTrack>
</Styles>
<SettingsLoadingPanel Text="Loading,Please wait..." />
</dx:ASPxGridView>
</div>
</div>
</div>
<div class="buttons">
<span id="span3" class="cBtnLeft"><span class="cBtnRight">
<asp:Button ID="btnDupCheck" runat="server" OnClientClick="LoadingPanel.Show();"
OnClick="btnDupCheck_Click" Text="Next" CssClass="cBtnRight" Width="60px" TabIndex="11" />
</span></span><span id="span4" class="cBtnLeft"><span
class="cBtnRight">
<asp:Button ID="btnCncl" runat="server" Text="Cancel" OnClick="btnCncl_OnClick" OnClientClick="LoadingPanel.Show();"
CssClass="cBtnRight" Width="60px" TabIndex="12" />
</span></span>
<input type="hidden" id="hidtxtFileNumber" runat="server" />
<input type="hidden" id="hidtxtOfficeId" runat="server" />
<input type="hidden" id="hidtxtStateId" runat="server" />
<input type="hidden" id="hidtxtPropertyType" runat="server" />
</div>
</div>
</dx:ContentControl>
</ContentCollection>
</dx:TabPage>
<dx:TabPage Text="Property Information" TabStyle-Width="140px">
<ContentCollection>
<dx:ContentControl ID="ContentControl5" runat="server">
<table border="0" width="100%">
<tr>
<td style="height: 90%">
<uc1:findAddress ID="ctlFindAddress" runat="server"></uc1:findAddress>
</td>
</tr>
</table>
</dx:ContentControl>
</ContentCollection>
</dx:TabPage>
</TabPages>
</dx:ASPxPageControl>
</asp:Panel>
</dxp:PanelContent>
</PanelCollection>
</dxp:ASPxPanel>
</dxpc:PopupControlContentControl>
</ContentCollection>
</dxpc:ASPxPopupControl>
|
|
|
|
|
You have to wrap your control in a panel, and set the panels default button to the button you want to press enter on. Use the buttons ID value, and not the name you gave it.
Dim panel_Container as Panel
With panel_Container
.ID = "_panel_Container"
.DefaultButton = "bt_Submit"
|
|
|
|
|
Hi
i want to develop application like hootsuite . com
Schedule the FaceBook wall using ASP.Net
now i am geting this error
my new facebook code is : AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU#_=_
so, my url like https:
but , still i get error like
{
"error": {
"message": "Malformed access token AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU",
"type": "OAuthException",
"code": 190
}
}
modified 21-Nov-12 4:14am.
|
|
|
|
|
Hello
Can you give me a "Code" & redirect url which is return while we doing facebook login
let me know if any query
Thanks
Gaurav Dhol
|
|
|
|
|
this is newly generated code
AQAEjc8fhCUXpniD47XhRQosJBc8RtvzumNsm10b_bdpG26XblRKZ76voic8G5Nqia5lGzcPJItJo-7nIKIQ6-zdW_jmMNAoHF82XthVeSiHzbuKavGJwFz8m0N9TBgU6tRvbQPILkvsYpCUiUg7mS4YcmMRhwZbD8NeeQbl9D3SPTfEsxj9NkQSmpT-yhq1DxFbcBW9N8MX8Y8tXaKJ74dv
is this code are you looking for this?
also old code is here
AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU#_=_
application url : [^]
modified 21-Nov-12 4:40am.
|
|
|
|
|
Just a guess, but you need to URL-encode your access token.
Your token ends with IDU#_=_ , and the error message reports that it ends with IDU . This is because # is not valid in a query-string. Your URL should end with IDU%23_%3d_ instead.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I use VS2010. When I try to add WCF service to my project and rebuild the solution, I receive COMPILATION error
"object reference not set to an instance of an object"
Without WCF service everything looks fine.
|
|
|
|
|
AnnLogan wrote: When I try to add WCF service to my project and rebuild the solution
What do you mean by that? Are WCF file? Project? Service reference?
No more Mister Nice Guy... >: |
|
|
|
|
|
I am adding WCF service with Visual Studio Wizard:
add new item -> WCF Service.
It creates 3 files -
2 in App_Code - Service1.cs and IService1.cs
1 in root - Service1.svc
|
|
|
|
|
Well you need to explain (and show) the code where this message is generated. We cannot see your screen, or guess what the code looks like.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Then you must be doing something to that pure service before compilation and after add it to solution.
Or you have compilation service in entirely different place.
That what I can say without more info.
No more Mister Nice Guy... >: |
|
|
|
|
|
Hi All,
When i am hitting Enter key after focused to a button with tab key , nothing is happening , but when i am hitting spacebar ,it is working (in Firefox) . What will be the issue . Please help
Thanks
Rks
|
|
|
|
|
You should ask this question to folks at Mozilla or at least add some code or link to demo AND version of browser.
No more Mister Nice Guy... >: |
|
|
|
|
|
<pre lang="HTML"> <span id="span3" class="cBtnLeft"><span class="cBtnRight">
<asp:Button ID="btnDupCheck" runat="server" OnClientClick="LoadingPanel.Show();"
OnClick="btnDupCheck_Click" Text="Next" CssClass="cBtnRight" Width="60px" TabIndex="11" UseSubmitBehavior="true"/>
</span></span><span id="span4" class="cBtnLeft"><span
class="cBtnRight">
<asp:Button ID="btnCncl" runat="server" Text="Cancel" OnClick="btnCncl_OnClick" OnClientClick="LoadingPanel.Show();"
CssClass="cBtnRight" Width="60px" TabIndex="12" />
These are the buttons and UseSubmitBehavior will not help . Firefox version is 16.0.2
</span></span>
|
|
|
|
|
Are you asking about using the enter button to submit a form?
If so, you have to wrap the area in a panel, and set the panels default button ID for submit. Then the content in that area, if the cursor is in the textbox, will fire the assigned button. If the cursor is not in a element within the panel, nothing will fire.
|
|
|
|
|
You can try this:
<script>
document.onkeydown=function(event)
{
e = event ? event :(window.event ? window.event : null);
if(e.keyCode==13){
//执行的方法
alert('回车检测到了');
}
}
</script>
Good luck.
|
|
|
|
|
Hi,
I would like to ask if there are any free good alternatives for Google adsense to place ads on my websites and earn money form it?
|
|
|
|
|
Adsense Alternatives
Adbrite
Infolinks
Clickbank
Admagnet
Chitika
Bidviser
But you will get very less earning as compare to Adsense
|
|
|
|
|
Thanks in advance.
Front End : Asp.net 4 (vb)
On a Page i have a button which redirects to another Page
response.redirect("Page2.aspx" + "?ID=" & DocumentID)
on Page2 load event through querystring i get the Document ID and Open the Document (PDF/IMAGE etc), My Problem is on this Page2, I want to have a button with back page link but the button does not show as the page is loaded, So is there any way to show back link along with the document.
To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill
a DEAR,
You need just ignorance and silence
modified 27-Nov-12 2:50am.
|
|
|
|
|
If your users browsers allowing that you can use HTML5 History API
http://diveintohtml5.info/history.html
No more Mister Nice Guy... >: |
|
|
|
|
|
Thanks for the Post ,
Actually when Page opens it does not show any control on the Page, No button or any control , it hides the control on the page.
If it shows control then on that i can use any script or code, but now its hiding every thing from the page and just showind the document (image/text/pdf) etc.
To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill
a DEAR,
You need just ignorance and silence
|
|
|
|