hello,
can any one tell me how to do form authentication in asp.net mvc? i had done form authentication for built in database but i dont know how to use it with ADO.net entity model. thank you
Hi,
We are using graphics context of a form to draw an image. However it works fine on initial paint but the image is not being updated unless we set a breakpoint and run it in debug mode, stepping through each time.
What is a good way of making a seperate thread to paint on to a form every second?
Thanks.
how should I list a form controls in a Combobox of the same form(like VS designer does)?
I tried:
cboObjectSelection.DataSource = Me.Controls
but this does not work.
Is there a possibility to filter(customize) this list?
I have a user control with a public property of the type Form. I want to be able to select a form at design time with a dropdown and populate it from a constant namespace: UI.Foo.Forms
How do I go about doing this?
Hi,
I'm having trouble understanding why I have to place the button triggering the getJSON method outside of the form for the request to work.
If the button is placed within the form then the getJSON method returns no results.
The code bascially makes a XHR request on clicking the Submit button, based on the value selected. I have replicated the issue here:
http://jsfiddle.net/z6caj/
Many Thanks,
I have the following problem. I have a webservice, which accepts a post request with some json data in the request body and which also returns Json data.
Now I want to build a user friendly HTML page to test this service. I have a form to fill in data, when the user clicks the button, the JSON should be build from the form data and POSTed to my webservice, the response should be displayed to the user. How do I achieve that?
Is there a winforms event that fires when the user switches from a form to another window? I.e. Not through minimizing, but just by clicking on another window. How can I detect when the form becomes inactive? Thanks!
Hello,
I'm setting a PHP session variable with a success message for a HTML form that I'm submitting. If there are no form errors, I redirect to the same page (using header()) and display the message from the session variable. Everything is fine until here, but if I access that page again after submission, the message is still there. Is it possible to make it appear only when I redirect after a successful submit?
Thank you.
There is same problem related with icon. I am satisfy with your answer that seticon property to false. But my form is child of MDI form, then this problem is remain same that icon is not remove.
Can you help me.
How can I copy the image in the clientrectangle of my form to a bitmap in memory? I know how to go from bitmap to form, but not the other way around. Thanks!
hi all,
trying to develop web form using jquery.
all i need is to have several (don't know how many) buttons on one form.
all of those buttons have to call one same function, and to pass one parameter to that function. that function have to do some post method, but i can handle it.
so, my main problem is that i don't know how to develop JS that will call specific jquery function.
can you help me with this?
I created a base form that has a specific size and an icon as a base for all forms created in my project (to be consistent in looks). The problem is, for some reason if I add a Text box to the Child form, I can no longer execute shortcuts like Copy (CTRL+C) etc into the Textbox.
What should I do to handle this OTHER THAN writing code to capture those on the KeyUp control?
This is also the case for RichTextBox control as well.
Thanks
There is same problem related with icon. I am satisfy with your answer that seticon property to false. But my form is child of MDI form, then this problem is remain same that icon is not remove.
Can you help me.
I want to make a real time form validation in asp.net form in which when i lost focus a field it show an error or success of field entrance data
i search for best way to do that ..
and if i want to do the same by validating data from SQL Database ... what's the best choice for doing that ?
I have a form which includes select options with different items. Based on item selected, I need to show respective form on the same page.Does any one know jquery plugin for this or how aesthetically we can do this kind of requirement?
I have a form in a Compact Framework application. When the user presses the 'X' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.
The form is being shown using this code:
using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
{
customerDetailsForm.AssignCustomerId(customerId);
customerDetailsForm.ShowDialog();
}
hi all,
let's say that i have 3 tables:
books
properties
book_properties
of course, i would like that when i want to insert new book (or update existing), to fill the form.
fields that exist on form have to be defined as records in table properties.
when i fill up those fields, data has to be saved in table book_properties.
can you help me by giving some advices and references, how to achieve that?
thank you very much in advance!
Has anyone used javascript/ajax to take data from one form field and put it into another? I'm trying to create a form that when one text input is filled out a second is auto-populated with the first letter of the word that is in the first text input. I'm thinking I can limit the second text input to one character to help get the desired result, but I'm not having luck finding the javascript to get the second text input to auto-populate from the first. Any suggestions?
Im trying to fill a dropdownlist based on an other one:
Departments and SubDepartments.
i followed this link: http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html
when i try to fill in a form it gives me an error:
Request Failed (-- securityException) on this line:
q.FileLocation = q.FileLocation + "&FilterField1=Department&FilterValue1=" + GetDepartmentValue();
and the second dropdownlist (subdepartments) is not filtered.
Any idea what might be the problem?
Hello,
I have a Parent form with some child forms.
Imagine some of these child forms are opened and their name or their text are shown in a something like tabpage. now when i click on a tab page ,the related form must be active.
What can i do?
Thanks.
I'm writing an InfoPath web form, using C# code behind. The form is a holiday request, after the user inputs the start and end dates I want the code to query a bank-holiday sharepoint list and count occurrences between the dates.
I've added the sharepoint list as a second datasource however I'm now stuck. Any ideas?
hey guys
im using a form in php to submit some information into my database
so i used two function to do this
but how to show the result in th same page that has the form
hi all,
trying to develop web form using jquery.
all i need is to have several (don't know how many) buttons on one form.
all of those buttons have to call one same function, and to pass one parameter to that function. that function have to do some post method, but i can handle it.
so, my main problem is that i don't know how to develop JS that will call specific jquery function.
can you help me with this?
I have main form and some other forms, that can be shown by controls, using ShowDialog(control). Also I have event handler on the main form, that can be handled anytime. How can I check inside it, is there any other dialog forms?
I have two displays (two monitors) connected to my machine, and I noticed a strange thing happening today. I had an Explorer window open with my compiled exe on my primary display, and when I double-clicked it, it opened in the primary display (left monitor). However if I pressed enter to launch the executable, it started in the secondary display (right monitor). The window state of the initial form is maximized. Is there a way to tell C# to open the initial form in the primary display?