|
ViReNdrA KuMaR KoHli wrote: For more information on this error, please refer to Microsoft knowledge base article 810886.
Have you checked the link? http://support.microsoft.com/kb/810886
ViReNdrA KuMaR KoHli wrote: \\stage\final\MyImagine\dv\inc\web.config
Why are you trying to load web.config from Shared Folder?
|
|
|
|
|
ViReNdrA KuMaR KoHli wrote: plz help me out....!!!!!!!!!!!!!
its urgent.
Nuclear war urgent, or "Im a paid empolyee and im incapable of searching the web for common error messages" urgent?
|
|
|
|
|
Maybe in between like Global Warming urgent. That way we can decide if we care or not.
|
|
|
|
|
Can I call a method in the parent page codebehind file from a user control?
In VFP I would do a This.Parent.MethodName([parameter List])
My user control gets a value, and I now with to pass this back to a method
that will update the parent form.
<br />
protected void SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
<br />
int tpiPk = int.Parse(GridView1.SelectedValue.ToString());<br />
RemoveGrid();<br />
Panel1.Visible = false;<br />
Session["AddressReturn"] = "hidden";<br />
iPk = tpiPk;<br />
RefreshPage(iPk);
<br />
<br />
}<br />
|
|
|
|
|
yes, if the method is public.
myPage obj = (myPage)this.parent;
obj.CallMethod();
You can also reference a control in the parent page.
Textbox txt = (Textbox)this.parent.findcontrl("txtId");
I didn't get any requirements for the signature
|
|
|
|
|
Could you point me to any examples where this methodology is used,
I'm a newbie at this so kind of picking it up as I go along.
|
|
|
|
|
It doesn't get any more straightforward than the example you were shown, but let me say that this approach sucks. It assumes that your control knows what it's parent page will be, and even if it's a custom base class, that's too much knowledge for a control to have of it's parent, it negates the use of controls. Instead, set up a delegate on the control which the parent can subscribe to.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi
Has anyone ever encountered any problems with the pager buttons on the gridview working once a postback has already occured on the page?
I have a gridview and the pager buttons will not work after a postback on the page
cheers
|
|
|
|
|
How can i call one webservice.
Vasvai
|
|
|
|
|
Member 4599972 wrote: How can i call one webservice.
Add web reference to the service and invoke methods
|
|
|
|
|
What would be the purpose for declaring a decimal type variable and initializing it to 0@? I'm unsure of what the @ symbol would do.
Thanks
|
|
|
|
|
If you set it to be 0, then that would be an int. If you set it to 0.0d, that would be a double. I guess @ is the symbol that makes a constant a decimal.
Just to add, I would use decimal.Zero instead.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
iam having a grid view with textboxes .throug javascript i have enterd the values.now how can we get the value in the textbox of the grid view if particular cell was clicked
|
|
|
|
|
did u add this textbox as Template Field ??
|
|
|
|
|
Hi,
I have binded for values which are name,address,website,email which was coming one by one like....
name :
address :
website :
email :
name :
address :
website :
email :
So like this it should display paging 10. Can u pls help me.
krishna
|
|
|
|
|
Repeater does not have Pagination Property. Two solutions to solve it.
1. Manually handle the pagination
Or
2. Use GridView
|
|
|
|
|
|
Hi,
you can try Link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi,
I'm having a problem connecting my web application to an Active Directory running on Windows 2000 Server (SP4).
It works fine if I connect to an AD on Windows Server 2003, but if I try to use the AD on Windows 2000 Server I get this error message: Object reference not set to an instance of an object
And shows is red the ActiveDirectoryMembershipProvider section on the web.config.
I think the connection string and credentials are ok, because I used them on a LDAP Browser and succeed to connect to the AD. But on the web application I'm getting this error when I try to login.
If I remove the Membership.ValidateUser method from my login page I can enter in the application.
What could be wrong? The Provider connection? Incompatibility with Windows 2000 Server AD?
Here is the Stack Trace:
System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
em System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
em System.Web.Security.Membership.Initialize()
em System.Web.Security.Membership.ValidateUser(String username, String password)
em Login.btnLogin_click(Object sender, EventArgs e) em C:\Users\[USER]\Desktop\[AppFolder]\Login.aspx.vb:line 40
em System.Web.UI.WebControls.Button.OnClick(EventArgs e)
em System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
em System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
em System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
em System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
em System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
em System.Web.UI.Page.ProcessRequest()
em System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
em System.Web.UI.Page.ProcessRequest(HttpContext context)
em ASP.login_aspx.ProcessRequest(HttpContext context)
em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
And here is my web.config:
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="Sql2000Server" connectionString="Server=SQLSERVER\SQLINSTANCE;uid=USER;pwd=PASS;database=SQLDB"/>
<add name="ADConnectionString" connectionString="LDAP://aaa.bbb.ccc.dd.pt:389/DC=bbb,DC=ccc,DC=dd,DC=pt"/>
</connectionStrings>
<membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationName="/" connectionStringName="ADConnectionString" connectionUsername="xxxxx" connectionPassword="*****" connectionProtection="None" attributeMapUsername="sAMAccountName" />
</providers>
</membership>
I would appreciate any help because I don't know what to do anymore. I've tried so many things with no success
Thanks!
|
|
|
|
|
auto row change using asp.net
|
|
|
|
|
Hi,
What you want ?
Basheer wrote: auto row change using asp.net
Give description..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
If you want anybody to be able to help you, you have to be a lot more specific.
The subject should be a short description of the question. "help me" is totally useless as subject, as it doesn't contain any information at all that would distinguish it from any other question.
Your question contains way too little information to be possible to answer. Actually, the question would work very well as subject, but a question has to be more complete.
You need to specify what kind of rows it is that you want to change, how they should be changed, and in what way it should be automatic.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hi Friends,
I have one doubt,i am having two client side radio buttons and two server side label and one server side textbox and one server side drop downlist controls,when i m selecting the first radio button the label and textbox should be hidden and drop downlist should be visible,when i m selecting second radio button means the label and textbox should show and drop downlist should be hidden and it should not be postback,how to do in javascript?.Kindly tell me please....
Thanks & Regards
Senthil Kumar
|
|
|
|
|
Hi,
You can check this Link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
control.style.display='none';\\hide the control
control.style.display='';\\unhide the control
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|