.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani
Post New Web Links

how to set rules on submit button for this specific condition

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#
 

 

I submitted  a form to the sharepoint site. The problem is when a user makes some changes and submits back again, it gets submitted back but is not using the condition and data connection that i have set for the submit button.  It uses the original submit option.  Can someone help me with this.  Thanks




View Complete Post


More Related Resource Links

Button specific code

  

I have 2 submit buttons on my page. Right now, the only way to run the code behind with razor is to to If(IsPost). Since I have 2 buttons, how would I destinguish between the two in post? Is there a way to request a button that sent a post request?  


Button in a form that does not submit

  

I've been trying to figure this out all afternoon but my google-fu seems to be failing me. I'm setting up a page with a fairly large form, which has one field that is going to require some kind of popup page that will allow the user to perform a lookup. At the moment I'm only prototyping the page so I'm actually only attempting to a the button up to fire an alert when the button is clicked instead of generating a lookup screen. However it seems that no matter what I do the button causes the form to submit.

I remember one of the very first ASP .NET beginner videos I ever watched went through configuring a button to perform actions without submitting, but I can't seem to figure out which one it was.


Infopath form using Visual Studio - How to bind repeating table on submit button click ?

  

Hello friends,

   I have created infopath form using Visual Studio 2008

Form have 3 dropdowns and one repeating table which is bound by Datasource ( List from sharepoint ).

whenever i select appropritae values from drop down, Repeating table gets bound as datasource for dropdown and repeating table are same.

I have done conditional formating for repeating table using repeating table properties.

 

My Question:

 

Now i included one submit button and i want when i click submit button it will check DropDown Values and if appropriate record matching these values found it will fill repeating table

How i achive this ? as i dont find how to bind repeating table on submit button.

Please help if anyone have answer.

 

Thanks and Regards,

 

Kapil Bhosale.

 

 

 


i need to display a specific date on a condition

  
I am trying to display a specific date when a condition exists so i have this case statement but it does not work... ,CASE WHEN @ALTTYPE IN ('INCR','DECR','ADD','FLAG') THEN '09/09/99' ELSE END_DT END AS END_DT

How to submit my form to Sharepoint Library as well as Sharepoint List with specific Fields only.

  
Hello ,   I have a Infopath form that contain 50 of fields. i want to submit those form into sharepoint library as well as Sharepoint Custom List(Specific Fields). Please suggest best practice to develop such a functionality.   Thank you.

Server side Submit button

  

I have several buttons on my form (it is a Telerik TabStrip control) that needs to do a server side postback when the user has focus on one of the buttons. It is a heavy data entry form and they require no mouse clicks. Strictly tabing to each field and then when the user tabs to one of the buttons and hits <ENTER> on the keyboard, I need to do a server side postback. I can't assign the <ENTER> key to a button, because I have multiple buttons on the form to do other things like look ups, etc, besides submitting the form.

Any ideas on how this can be accomplished? 


>>>Load gridview using objectdatasource after pressing a submit button?

  

hi

I'm using objectdatasource to get my data. it works fine. The
currentway how it works. When the page opens it loads the gridview.
but I don't want this.


I would like to load the gridview after I press a submit button. so in
fact after postback...

I tried to remove the select Method in aspx and set programmatically
in the submit button eventhandler but then I get an error that
Selectmethod is not set.

Can someone advice me how I can load the gridview using
objectdatasource after pressing a submit button?
 


change "View Report" Submit button Caption in parameter area

  

Hi All.

Using SSRS 2008.


Can please suggest, Is there a way to change the caption of submit button that appears when we have report parameters. "View Report" to something else

Thanks for replies.

 

 


Problem of refreshing the button on submit

  

 I am doing  a project in asp.net with visual studio2008. Im my project i did the java script validation and in a button a write the code to redirect the page to another page. But when i click the button it shows the java script alert message but at the same time it directed to another page. Pls help me do proceed in my work.....


Tkanks in advance



Make validation controls trigger only not clicking on submit button and not on other navigational bu

  

I have required validation controls on a page.  If the user got to this page by mistake and wants to go to a different section of the website using the navigational buttons; required validators are triggered and it will not let the user navigate away.  How do I get validators to trigger only when a submit button is clicked?

 

Thanks in advance!


Drop Down Box and no "Submit" button

  

I have the following drop down box on my page:

 

<div onkeydown="javascript:if (event.keyCode == 13) _SFSUBMIT_"><select size="1" name="DropMenu">
<option value="" selected>Select an Option</option>
<optgroup label="Languages">
<option value="Chinese">Chinese</option>
<option value="Japanese">Japanese</option>
<option value="Korean">Korean</option>
<option value="Spanish">Spanish</option>
</optgroup>
<optgroup label="Regions">
<option value="Alabama">Alabama</option>
<option value="Alaska">Alaska</option>
<option value="Arizona">Arizona</option>
<option value="Arkansas">Arkansas</option>
<option value="California">California</option>
<option value="Canada">Canada</option>
<option value="Colorado">Colorado</option>
<option value="Connecticut">Connecticut</option>
<option value="Delaware">Delaware</option>
<option value="District of Columbia">District of Columbia</option

how to specify file name and close the info path form on custom submit button?

  
i have submit button in the form once i click it must ask to enter the file name and once i given it it must close the particular browser tab.

how to specify file name and close the info path form on custom submit button?

  
i have submit button in the form once i click it must ask to enter the file name and once i given it it must close the particular browser tab.

How to create a workflow that submit an infopath form to a library of a specific user

  

hi,

can someone help me with this?

i'm using wss 3.0 and infopath 2007.

i have a form that need to be approved by a specific approver.

first when the user submit the form it send an email to the specific approver and the form is also submitted to a library.

so the approver gets an email and the approver need to get the form submitted to his library.

the email part is working fine. now i miss the library part.

i think i need to use a workflow. but how can i create a workflow that assinged a to-do item to a specific approver instead of a group.

in my library i have the following fields:

form name, created by and aprrover's name.

now i need the workflow to look up for the name of the approver and send an "assigned a to-do item" to the specific approver of the form

can someone help me with this?


Simple Form Submission without a submit button

  

I have the following simple form on my sharepoint page:

<div onkeydown="javascript:if (event.keyCode == 13) _SFSUBMIT_"><select size="1" name="DropMenu">
<option value="" selected>Select an Option</option>
<optgroup label="Languages">
<option value="Chinese">Chinese</option>
<option value="Japanese">Japanese</option>
<option value="Korean">Korean</option>
<option value="Spanish">Spanish</option>
</optgroup>
<optgroup label="Regions">
<option value="Alabama">Alabama</option>
<option value="Alaska">Alaska</option>
<option value="Arizona">Arizona</option>
<option value="Arkansas">Arkansas</option>
<option value="California">California</option>
<option value="Canada">Canada</option>
<option value="Colorado">Colorado</option>
<option value="Connecticut">Connecticut</option>
<option value="Delaware">Delaware</option>
<option value="District of Columbia">District of Columbia</option><

EditForm.aspx submit button prompts user to open/save document.

  

I'm not sure if anyone can help since I'm dealing with a slightly modified Edit Form and a custom work flow, but here it goes.

I am testing a SharePoint 2010 deployment which uses our 2007 production content database. Most of the database attachment process went okay, but I'm seeing something weird now on my EditForms. Whenever a user uploads a document to a particular document library, we send the user to an edit form to collect some meta data for some custom fields. As soon as you click the submit (OK) button, the form prompts you to open/save the file, as if you were trying to open it from the within the library. Once you handle that pop up, the form is then 'dead'. It doesn't redirect you as it should and the submit/cancel buttons no longer work (yet they are active).

Here's where it gets weird(er). If you try to upload a document from within the library itself, no problem. My issue only happens when you get to the upload page via a dataview of the library from a subsite (which is just a filtered dataview with a site specific filter, nothing too crazy). The link takes you to the normal OOB Upload.aspx just as if you were to get there from the document library itself, but for some reason navigating to it from the dataview (even though it takes you to the same page with the same list ID in the query string) the subsequent editform (again, same form

Why nothing happens when PasswordRecovery submit button pressed?

  
<asp:PasswordRecovery runat="server" id="passwordrecovery" BackColor="white" BorderColor="#CCCC99" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="1em" QuestionLabelText="Question: In what city were you born?" QuestionLabelStyle="z-index:25" cssclass="square" UserNameInstructionText="To receive your password, first enter your User Name :" SuccessPageUrl="success.aspx">
	<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
	
    <UserNameTemplate>
		<table id="user" class="passwordrecovery" border="0" cellpadding="5" cellspacing="0" style="border-collapse:collapse;">
			<tr>
				<td>
				<table border="0" cellpadding="16">
					<tr class="titlebar">
						<td align="center" colspan="2" class="titlespacing"></td>
					</tr>
					<tr>
						<td align="center" colspan="2" style="color:Black;font-style:italic;">
						To receive your password, first enter your User Name :</td>
					</tr>
					<tr>
						&l
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend