|
|
hi!
Am displaying the images static in my website...i wanna do it dynamically means images dynamically displayed on the web page...images come from the folder like image where these placed.. how can i do??Kindly help me any one
Thanx in advance
saeee
|
|
|
|
|
Use AdRotator control.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Thanx Sylvester G!
tell me which properties i set for the AdRotator control?
and after that what i should do??/
saeee
|
|
|
|
|
|
Dynamically means ?
You can give image at run time by assigning Image url in page load to the control
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
annhan i wanna do functionality like images displayed on web page from left to right or from top to bottom...and what kind of code can i write in page_load function...kindly give me the source code
saeee
|
|
|
|
|
Ok
For that perpose you can use AddRotator Which is simple Anna
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Ok! Sandeep am not able to do with AddRotator control...tell me how can i do....how how???
Thanx in advance
saeee
|
|
|
|
|
Sorry for late reply
If you are using ASP.net 2.0 version then play with
<asp:dynamicimage runat="server"
="" imagetype="gif" imagegeneratorurlimagefile="textimage.asix">
<parameters>
<asp:parameter name="Text" defaultvalue="ASP.NET 2.0">
In C# 2.0 inbuilt control is given for having Dynamic Images
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Iam new to asp.net
Can we create more than one web.config file how it works if we declare more than one .
What is use of more config files
Thanks nAdvance
|
|
|
|
|
You can have separate web.config files for each directory in your web application, in addition to the one in the root. For each web page, by default, system will look for a web.config in the same folder as the page and if not found, then looks in the parent folder.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
How can i rotate image on my web page similarally, how we do in MS Office not like add rotator. is there any extra tools availabe for this?
Please Help...
regards,
PVC
|
|
|
|
|
|
Iam new to asp.net
Why can't we use navigation with server.tranfer for non aspx pages.pls help me
Thanks n advance
|
|
|
|
|
AFAIK Server.Transfer tells the ASP.NET service to load and execute another aspx page, any other page type can't be executed by the service. You probably want Request.Redirect?
|
|
|
|
|
Hi,
I have an image, file upload and a button control on my webform. I am uploading a new image and attaching the image to replace my existing image in button click event. It seems to work fine on my local machine. When I deploy and run on the server side, the image upload is working fine, the image is getting replaced in the background. However my web page still shows old image. If I reload the page then it shows the updated image. I am using the same name for the image when I am doing save as in the button click event. Any inputs why this is happening?
Appreciate inputs
Raj D
|
|
|
|
|
I belive, you are not loading the image after the image is uploaded. Could you please post your code for better assistance?
|
|
|
|
|
I have the Image1.ImageURL set to the same jpg filename that I am not changing. So in page load event caused by the button click event the image needs to be loaded. If it is reading from the server then it should show the new uploaded image. However it seems to be not retrieving this data from server. Please see the code below that I used. I even set the Image1.ImageURL in the page load event.. Still does not work. It works great on my local system. Please advice
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Image1.ImageUrl = "SiteURL here/images/studios/S-arc-0001.jpg"<br />
End Sub<br />
<br />
Protected Sub Button6_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button6.Click<br />
Response.Cache.SetCacheability(HttpCacheability.NoCache)<br />
If FileUpload1.HasFile Then<br />
FileUpload1.SaveAs(MapPath("~/images/studios/S-arc-0001.jpg"))<br />
Image1.ImageUrl = "Site URL here/images/studios/S-arc-0001.jpg"<br />
End If<br />
End Sub<br />
Raj D
|
|
|
|
|
dasumohan wrote: Image1.ImageUrl = "SiteURL here/images/studios/S-arc-0001.jpg"
You are using the Absolute URL for Image Path. Use relative path.
Say,
Image1.ImageUrl = "images/studios/S-arc-0001.jpg"
dasumohan wrote: Response.Cache.SetCacheability(HttpCacheability.NoCache)
If you need the Cacheability, set it in the Page Load event.
The relative path may solve your problem.
|
|
|
|
|
Meybe cache?
try
Response.Cache.SetCacheability(HttpCacheability.NoCache);
|
|
|
|
|
Caching would be my guess as well, especially as your using the same file name. You could also try changing the filename to include some timestamp based hash.
|
|
|
|
|
|
Hello,
I have a databound datagrid with vehicle driver details. I add new/blank rows to this datagrid on a button click event to insert new record to the driver table and also have the edit/update functionality.
One of the columns is 'Current Driver?' which is also databound in a template column. Since there can be only one current driver for a vehicle at a given point of time, on checking the 'current driver' checkbox I need to write an itemdatabound event for the datagrid which will allow me to check only one checkbox. I do not want any messages to popup, all I want is if a person checks this checkbox for a record then it should be allowed but previously checked checkbox for any other records should be unchecked automatically so that any given point only record has the 'current driver' status checked.
Is there any way to achieve this?
I use VS2005Pro/.net2.0/VB
Thanks a ton.
Aartee.
...HE is watching Us All!
|
|
|
|
|
Checkbox is meant to be multiple selections. Yet you can do it thru codings.
But radio button is the best control in this scenario.
So use radio buttons and set the groupname property as common name.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|