|
Hi,
I have a usercontrol that I need to add to certain pages. Now, this user control must show an aspx page I get from another server.
How can I include this url to the user control.
I bind my usercontrol to the page by:
<br />
Dim ucInformation as UserControl = LoadControl("ucInformation.ascx")<br />
panel1.controls.add(ucInformation)
|
|
|
|
|
Have a public property in the user control that you can set.
|
|
|
|
|
Hi,
I have a current project which will require exchange of information. I think this forum type of communication will be the best way for that.
Can anybody send me a tutorial on how to do this kind of website like this forum that we are using.
Anybody's help will be gretaly appreciated.
Thank you so much in advance.
|
|
|
|
|
Hi, that kind of question is not likely to be answered by any one im afraid.
Asking someone how to create a whole website is a little foolish to say the least.
It would suggest you are either a little lazy / impatient or do not know enough about .Net to be tackling the project in the first place.
However, as i dont want to sound too patronising i will say the following:
A forum is simply a series of pages which allow you to add data to a database, and then retrieve it and display it in a given format.
|
|
|
|
|
Download the starter kits from http://www.asp.net/downloads/starterkits/default.aspx?tabid=62[^] and go from there.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
Hi guys,
Here's the scenario.
1. We have an intranet
2. User information is maintained in Active Directory
3. Building a new page in ASP.NET 1.1 and CSharp
4. Need to display username from Active Directory
inside tags
5. Just a note: When we login to the PC, we log in to
a domain, ex. domain --> xyz, not to the local machine.
Thanks.
Forged
|
|
|
|
|
Please refer to System.DirectoryServices namespace
|
|
|
|
|
how do i make ONE picturebox which displays an array of pictures, one at a time? it has to be like a slide show, but the pictures have to change by themselves, no need to click or anything. the pictures have to change every 5 seconds or so.
please and thanks
|
|
|
|
|
Use JavaScript in stead of an string array which requires a postback to the server. Write a javascript with an array of url's and change the image object's source property using a timer... Would look like this
<br />
<script language="JavaScript"><br />
<br />
var YourImages;<br />
YourImages = new Array(2);<br />
YourImages[0] = '/images/one.jpg';<br />
YourImages[1] = '/images/two.jpg';<br />
<br />
var Counter = 0;<br />
<br />
function DisplayNewImage()<br />
{<br />
Counter++;<br />
if (Counter >= YourImages.length){ Counter = 0; }<br />
imgMyImage.src = YourImages[Counter];<br />
setTimeout("DisplayNewImage()", 5000);<br />
}<br />
setTimeout("DisplayNewImage()", 5000);<br />
</script><br />
Don't blame me on litte stupid errors on this code, i wrote it on the fly, but i should be near the correct solution of your problem
|
|
|
|
|
Hi,
i want to save an existing aspx web page as an image (jpeg,png etc.). How can i do that.
i know System.Drawing.Imaging namespace holds the key for this conversion to occur....but somehow i am unable to use it correctly.
Please guide me as to how can i save an aspx page as an image and then display it on the browser as an image or thumbnail.
thanks & regards
Kapil Thakur
|
|
|
|
|
Maybe im wrong but i really dont see how this is possible.
Converting an image to a thumb is a whole different process to converting a dynamic webpage into an image.
|
|
|
|
|
i want to save a dynamic web page as an image. how can i do that.
Thanks & Regards
Kapil Thakur
|
|
|
|
|
HI
How to Compress two or more files into zip file through asp.net with c# code
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
|
Hey Thank u for ur reply..
i used ICSharpZipLib its working fine. but when we open the created zip file it throws error message.
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Strange, look at the FAQ's of the SharpZipLib website, it works fine here for ages...
happy i could help
|
|
|
|
|
how to handle the froward key and back key of IE when user is logout.
If user logout, but user can go to welcome page again using back key without
using login page.how to handle this.please help me to control this prob............
|
|
|
|
|
The first line is so that the user cnnot click on 'Back' Button.
The second line is so that the user must login again to gain access:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
If Request.QueryString("Logout") = "1" Then
Session.Abandon()
Response.Redirect("URL")
End If
Logout Link: <a href="?Logout=1">Logout</a>
|
|
|
|
|
i have tried your code but below line dont work any other way to stop the back button?
Response.Cache.SetCacheability(HttpCacheability.NoCache)
|
|
|
|
|
The following code:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
should be in the Page Load event. Is your in the Page Load event? :
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
Response.Cache.SetCacheability(HttpCacheability.NoCache)
That's how my code is. If it doesn't work, then I'm not sure how to change it
|
|
|
|
|
Write these meta tags lines over HTML code page
keep Learning and you never will be out of date...
|
|
|
|
|
Hi,
I am trying to summarise all the errors from all fields. For example, I have one Required Field Validator Control and one Validation Summary Control . The Error Message property for the Required Field Validator is "Invalid Date Format".
When an invalid Date is entered, BOTH the Required Field Validator Control AND the Validation Summary Control show the error.
I want THAT error message to show on the Validation Summary Control and NOT on the Required Field Validator Control . Any ideas?
Thank you.
|
|
|
|
|
make the RequieredFieldValidator Enabled=false
|
|
|
|
|
I set Enabled to False and that disabled the validation completely lol.
I discovered that all I had to do was add : Text="" and it worked!
Thank you for your reply
There is another problem now
I have 3 Date Fields. When one of them is invalid, ALL the error messages are displayed. I only want the erroneous one to display. The others are fine.
Any Ideas? Thank you.
EDIT: OMG! ALL three validators were validating the same textbox lol. What a noob mistake! It's sorted now. Thank you for all your replies!
-- modified at 8:36 Tuesday 28th November, 2006
|
|
|
|