|
Hi All,
I'm want to create dynamic page in asp.net using VS2003. For this I created an aspx file with one placeholder. Now I want to load the aspx file dynamcially thru code.
Till now I've found Placeholder1.Page.LoadControl("text.aspx")
But it is not working.
Please help.
-Akki
|
|
|
|
|
I've done this before, but now I'm not sure...try rename text.aspx into text.ascx
<< >>
|
|
|
|
|
Akhilesh Yadav wrote: LoadControl
There's your clue....placeholders are intended to be used to display UserConrols (ascx's)....
As mentioned below, ytou can sometimes get away with just changing the extension, but really, you should code it up as a control - it's not difficult, and most of what you already have can be just pasted straight in...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I'm having a problem with the ajax calendar extender.
I have created tabs using multi view control.
In the first tab I have calendar extender control and the second tab one label for indication.
Once you select the date on the first tab then navigate to the next tab, working fine, but once u press the first tab from the second tab again then I'm getting an error.
I'm attaching a sample application for your further reference.
Even I'm trying to solve the issue.
Awaiting for your valuable reply.
Nagarajan R.J.
|
|
|
|
|
Hi all
please send me Ajax best tutorial website names or URL's.
thanks,
|
|
|
|
|
http://www.asp.net
We Can Do Anything, If We Want It
|
|
|
|
|
|
i want resize the image when i upload the image.
mohan
|
|
|
|
|
|
Hi,
Any suggestions / references to disable the CLOSE(X) Widget in .NET version 1.1 ?
|
|
|
|
|
<script>
try { window.attachEvent("onbeforeunload", window_onbeforeunload); } catch(e) {}
function window_onbeforeunload(e)
{
e.returnValue = "Are You Sure?";
}
</script>
We Can Do Anything, If We Want It
|
|
|
|
|
i need source code for send mail(to send any mail)in vb.net 2.0,
web site developing in asp.net(code behind vb.net).please any one can help me for send mail source......................
Mohan
|
|
|
|
|
using namespace System.Net.Mail, for more information at MSDN
<< >>
|
|
|
|
|
Hi,
Im inserting into one column image at the same time text. but when I insert data I get this error:
Specified argument was out of the range of valid values. Parameter name: Images/laughing.gif
Why is it so?
Thanks
|
|
|
|
|
Do you want to save a picture into DB?
<< >>
|
|
|
|
|
" unable to attach to application webdev.webserver.exe(PID:4400) using (Machine Name).A debugger is
already attached "
plz solve this bug
|
|
|
|
|
Are you executing two applications simultaneously in debug mode? That may be the cause.
Best Regards,
Apurva Kaushal
|
|
|
|
|
No, i'm running only one application. Tell me the solution.
|
|
|
|
|
Hi
Try this URL it discuss the same problem u r facing and they have the solution
http://www.velocityreviews.com/forums/t71777-quoterror-while-trying-to-run-project-unable-to-start-debugging-on-the-web-serverquot.html
|
|
|
|
|
|
Hi all.
In my aspx web-page i use DetailsView control for updating data in SQL database.
Firstly i suppose to use SqlDataSource as data source control for this one. But after consideration i had resume what this not exactly convinet for me, as for user can change data in DetailsView many times but i should update my data only once. Since what i suppose what should use ObjectDataSource controls (as buisness object layer), but one use reflection and reflection is very slow (as far as i know), is it good practic to use this ObjectDataSource as data source
for DetailsView ???
THANK A LOT.
|
|
|
|
|
Can u solve my problem…
When we login a page by giving User Id and Password then we get the next page. If we copy and paste that URL of that Next page in a new page of a New Browser then it has to once again redirect to Login page instead of opening the Next page.
Can you tell me how to do this
With best regards
|
|
|
|
|
write this lines in web.config file:
<system.web>
<authentication mode="Forms">
<forms defaultUrl="login.aspx" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
We Can Do Anything, If We Want It
|
|
|
|
|
when login successfully, turn user's session flag on
And check this flag in another pages..if this is off => redirect to login page
<< >>
|
|
|
|
|
Hi All
What is meant by "Build of the requirements from the technical Documents"
For this what we have to do in dotnet. Is it Deploying application using any?
Actually in my new project they mailed me this line.
Waiting for valuable answers.
Thanks.
|
|
|
|