|
|
Here i have a problem that,In a tanle when i give some input that should be shown in the table and if press enter it sholud take again an input value from the keyboard to the next line.the values which are enterd present and previous should be in the web page in the same time.
how to do
kissy
|
|
|
|
|
Hi all!!
I have been using the SQL Membership and Roles Providers, I was working the 5-part series from 4guysfromrolla.com.
Soory for the long post, but the error is very long.
My web.config file looks like this:
<membership defaultProvider="MySqlMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add
name="MySqlMembershipProvider"
applicationName="dev"
connectionStringName="MyDatabaseConnection"
description="Stores and retrieves membership data from the local Microsoft SQL Server database"
enablePasswordReset="true"
enablePasswordRetrieval="true"
maxInvalidPasswordAttempts="5"
minRequiredNonalphanumericCharacters="0"
minRequiredPasswordLength="6"
passwordAttemptWindow="10"
passwordFormat="Encrypted"
passwordStrengthRegularExpression=""
requiresQuestionAndAnswer="true"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
<roleManager enabled="true" defaultProvider="MySqlRoleProvider">
<providers>
<clear />
<add
name="MySqlRoleProvider"
connectionStringName="MyDatabaseConnection"
description="Stores and retrieves roles data from the local Microsoft SQL Server database"
type="System.Web.Security.SqlRoleProvider" />
</providers>
</roleManager>
So when trying to add a new user through the ASP.NET configuration tool, I get the following error, and I do not know what the error is and why I am getting it.
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration.WebAdminMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
What I did was to remove the following properties and it worked just fine:
enablePasswordReset="true"
enablePasswordRetrieval="true"
maxInvalidPasswordAttempts="5"
minRequiredNonalphanumericCharacters="0"
minRequiredPasswordLength="6"
passwordAttemptWindow="10"
passwordFormat="Encrypted"
passwordStrengthRegularExpression=""
requiresQuestionAndAnswer="true"
Please can someone tell me what I am doing wrong, what must I add extra, what must I leave out.
Thanks in advance!!!
Regards,
ma se
|
|
|
|
|
i created excel file with createTextFile object.. i am able to pass the values to the sheet.. but i am not able to include images in excel through asp..
i created image using obj.writeline("....<imag src="">....").. but at this time image is getting without excel cells...
please help me regarding...
-- modified at 2:42 Monday 28th August, 2006
|
|
|
|
|
Hi All,
I developed one website. but it is looking pretty slow. can any body give me suggestions to "Improve the Performance of the website". Thanks in advance
Thanks and Regards
Venkat
|
|
|
|
|
|
Thank you very much sir. i will keep in touch with you
Thanks and Regards
Venkat
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi ,
im using asp.net1.1 with c# ,i need to use currency manager there .is it possible to use it in asp.net 1.1 and what all the steps involve in that.
with regards,
susa
|
|
|
|
|
Do you mean the System.Windows.Forms.CurrencyManager object or anything else? Well, if this is the object you mean, then you should remember that it's mainly used in the windows form application, not asp.net. In this case, you might want to be more specific about what you may want to do.
|
|
|
|
|
Hi,
I am dynamically creating asp.net controls at runtime. I have 2 dropdown lists. When I change the item selected in the first drop down list I want to load the second drop-down list. How shall I add the SelectedIndexChanged event handler for the first dropdown list? Please let me know at the earliest since this is really urgent.
Thanks in advance.
Sid
|
|
|
|
|
C#
[Control Name].[Event Name]+= new EventHandler(function name);
VB
AddHandler [Control Name].[Event Name], AddressOf function name
Thomas
|
|
|
|
|
how will i get the event name when the control name is not available at design time?
|
|
|
|
|
Did you create a variable of dropdownlist? If yes use that variable to select the event.
Thomas
|
|
|
|
|
thanks for the solution
|
|
|
|
|
Is there a way to allign textbox and Labels in ASP.NET 2.0.
Tried to allign through designer but it does not seem to work well. Tried
to change using in code but that does not seem to work well.
Is there a way to say where to keep the text box and labels correctly( like x ,y coordinates
or any other such thing
Thanks
Kal
|
|
|
|
|
It should be quite easy in the designer. I don't recall exactly how it's done right now, but you can align an object to any other object in the design. I think that you just press alt, control or shift when you move the object, and it will snap to any objects vertically and/or horizontally.
---
b { font-weight: normal; }
|
|
|
|
|
Hi..
I want to learn more about networks so my programming abilities become better.So does the (Network+ exam) course do the job?
I am too late but i will never give up
|
|
|
|
|
TheEagle wrote: So does the (Network+ exam) course do the job?
No idea - I've never taken it, and I doubt I ever will because I don't think it contains much in the way of programming content. Perhaps if you are going to write networking software the concepts it teaches will be useful to you, but I'd find a more suitable course.
|
|
|
|
|
Colin Angus Mackay wrote: but I'd find a more suitable course.
May you give me an example for a more suitable course?
I am too late but i will never give up
|
|
|
|
|
Something that has a software development aspect to it.
|
|
|
|
|
hi my friend
i have this problem ??
I get this error :
==================
(Operation not yet implemented) When I use Crystal Reports 10 to Print Or Export
I am using vb.net asp.net and windows 2003 server .
thank you all
Nsr
|
|
|
|
|
We need more information. Such as: The code that caused the problem.
|
|
|
|
|
Hi Everyone,
I need help with using a user control in a repeater. That sounds simple enough, but what is complicating it is that the control takes an id from the dataset that the repeater is displaying.
I'll explain using a scenario - imagine you have a repeater displaying details of a number of books for sale. There are various actions you can perform on the books (buy it, view the list of chapters, view reader comments, etc) but not all of these actions are available for each book (perhaps it isn't in stock, so you can't buy, or perhaps there are no comments to view).
The control consists of a drop down list and a button. the list contains the actions available to each book, and the button will carry out the selected action. The thing is that the control needs the isbn number in order to build the list relevent to the book in the repeater, and I am having trouble passing it in using the property in the control. I have tried the ItemDataBound event, but that doesn't begin passing through the isbn at the time the repeater is building each repeater item, and the ItemCreated event won't work either.
Please can somebody tell me how to pass the id through as each repeater item is building the control?
Many thanks in advance,
Martin
|
|
|
|
|
Two options to pass the value to the user control placed in the ItemTemplate of the repeater control:
+ Use the data binding expression to bind value to a public property of the user control.
+ Use the ItemDataBound event of the repeater.
However, you should remember that the user control is only able to use the value after the binding/setting happens.
|
|
|
|