|
Hello,
Is it possible any way to override the Hosting Page's RENDER Method from a server control in ASP.NET C#.NEt 2.0 ? I am developing a server control and my intention is to modify the whole page's rendering HTML from this Control.
Please advice.
Thank you,
|
|
|
|
|
i have a button and i want with click the button i create a pop up and open it. how can i do that? can anybody help me?
|
|
|
|
|
Call a javascript Function on button click
function popup()<br />
{<br />
windows.open(url); <br />
}
|
|
|
|
|
I created an asp.net application on .NET Framework 3.5, then published it on my IIS6, it works.
but I have some question about this, why the ASP.NET version 3.0 or 3.5 are not in
IIS > 'My Website 1 Properties' > ASP.NET tab > ASP.NET version dropdown list?
some wrong while VS2008 install?
|
|
|
|
|
AS i know , when you install Framework 3.0 its just upgrdate the Framework 2.0 .
From MSDN Forum
Q: What happens when I install the .NET Framework 3.0? How can I upgrade if I already have the .NET Framework 2.0 installed?
A: When you install the .NET Framework 3.0, the installer will check to see whether you already have the .NET Framework 2.0 (released version) installed. If not, the .NET Framework 3.0 installer will install the .NET Framework 2.0 for you, and then install the new .NET Framework 3.0 components. If you do have the .NET Framework 2.0 installed, the .NET Framework 3.0 installer will only install the new components of the .NET Framework 3.0.
|
|
|
|
|
Does Framework3.5 the same to Framework3.0?
Also just install 3.5 Dlls?
|
|
|
|
|
Hi everybody,
I trying to come up with a web page architecture that would be easiest to use/modify and I can't come up with a satisfying result. This is my idea about how the architecture should work:
- there is a parent page with defined layout - header, footer, side menu, content panel (placeholder)
- each child page would derive from parent page (having same header, footer, side menu) and defines it's unique content in the content panel
- child design derived from parent is available in design time in VS designer
I tried to use dynamic approach by having one default.aspx with header, footer, side menu and content panel. In Init phase content (user controls) was loaded. Problem was that I could not handle content events properly, and after some research I've realized that it's not possible in .NET 2.0 , as the event's fired by content user controls are too late to properly add and register different content on same place in one postback. I was also considering creating one parent.aspx control, but if the page design is created in design view (html), it's not passed to any children as it is obviously not a part of parent's code behind.
thanx for any advices
zilo
|
|
|
|
|
|
i create a tree view. i want when i expand one parent the child of that parent bind and if it is in collapse not see that parent child and not bind. can i do that.
|
|
|
|
|
ptvce wrote: can i do that
Yes
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
|
ptvce wrote: how ?
By writing code
ptvce wrote: do u know?
Probably. But you should try and solve the problem yourself first before expecting someone to give you a solution. Do some research, write some code and post again if you are still having problems.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
i think u can use TreeNodeExpanded event.
sepel
|
|
|
|
|
Hai Everybody,
I am creating a windows and web application.
When the user clicks on the menu in the windows application the web has to be opened ut it should not ask for the login and the user who have logged in has to be passed to the Session in web as well as wise versa.
Can any one help me do to it.
Thanks in Advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
M. J. Jaya Chitra wrote:
When the user clicks on the menu in the windows application the web has to be opened ut it should not ask for the login
Does your web application use Forms Authentication? If so, you need to perform the authentication programmatically. Look at the FormsAuthentication class, particularly the Authenticate[^] method.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
We are developing an Asp.NET application. Everything was working fine and well. We had SQL 2000 in a Windows 2000 machine and development machine was having Windows XP. But, then we had to format the Windows 2000 machine. Windows 2003 was now installed in the machine. We then installed SQL 2000. It asked for a minimum of SP3 for SQL 2000. We installed SP3 as well as SP4. After this we were able to access the SQL 2000 database from Enterprise Manager, Query Analyzer as well as a Desktop application. But when we wanted to populate a Grid View in an ASP.NET page from the database we got the following error:
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
We googled and we tried different things but we were unable to arrive at a solution. Our work is getting hampered because of this. If anybody can please provide a solution for the same, we would be highly grateful and thankful since we are in the midst of a project.
|
|
|
|
|
Check the connection String of Grid View !!!
|
|
|
|
|
thank you for quick response.
I have checked it several times.
It is ok.
thanks
|
|
|
|
|
i used the update panel , in this way too, i achieved the reduction of access time.But how can i define the funciton using the ajax to do the same.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Pankaj Garg wrote: But how can i define the funciton using the ajax to do the same.
can you explain in details that what you are trying to do ??
|
|
|
|
|
can i write the fucntion in the source file , in order to do the editing in the gridview .
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Function will reamin in the same source file, just put the Gridview inside the update panel, if it take much time to retrive or update date use UpdateProgressbar !!!
|
|
|
|
|
do u have any link , that pertains to very basic free ebook for ajax (covering all topics.)
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
|
Hi,
I have an ASP.Net application and I have enabled the above two properties on my page. Everything works fine on every OS-Browser combination, but on Windows 2000, with IE5,
1. As soon as the page opens up, I get a JavaScript error "Object doesn't support this property or method". I identified the problem is because of enabling MaintainScrollPositionOnPostBack, which tries to change the submit property of the page: I set the property to false and all works fine even on IE5
theForm.submit = WebForm_SaveScrollPositionSubmit;
2. The page implements ICallbackEventHandler, and has script callbacks at various intervals on the page. When the page submits, I get the error "Invalid Postback or callback argument...use ClientScriptManager.RegisterForEventValidation in order to register the postback or callback data for validation"
As I said, this problem only occurs on IE5, but I searched around and there are not a lot of people complaining about this.
Has anyone else faced this problem with IE5 before, or can I avoid this problem somehow?
Thanks,
Praveen
There has to be more to life than just this
|
|
|
|