|
Thanks for your rep.
but still I am not getting any ware
as i dont know JS i copy and past between code but there are blue lines and i my assignment is asp.net using visual basic
waiting for your kind rep.
have a nice day
|
|
|
|
|
<html>
<script>
var imageNum = 1;
setInterval(changeImage, 250);
function changeImage()
{
if( imageNum >= 16 )
imageNum = 1;
img.src = "http:\\mysite\" + imageNum + ".png";
}
</script>
<body>
etc
You have been given everything you need. Now, you really need to pick up a book and learn something about html and javascript on your own.
only two letters away from being an asset
|
|
|
|
|
You have been given a copy and paste solution. If you still can't make it work, or understand it, that indicates your level of competence is too low to be able to use good help. Which is your problem. Buy a book and read it, then come back.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What's the expression? We can make it idiot proof, but they keep making better idiots.
only two letters away from being an asset
|
|
|
|
|
Abhishek Sur wrote: imageNum = parseInt(imageNum) + 1;
Why? imageNum is already integer.
Also, since imageNum is initialized as 1, parseInt(imageNum) + 1; would make it off by one.
only two letters away from being an asset
|
|
|
|
|
Respect the Juniors. Even me i am wondering the type of girl I will marry. Many starters fear aspx client because of the many blue, red lines with many xml tags. Server side looks nice.
|
|
|
|
|
Well Mark,
I agree, parseInt is not necessary.. I just used this for security purpose.
But if you dont increment imageNum, how could it change the image?
I think it should load 1.png, 2.png and so on... isnt it.
|
|
|
|
|
True, I forgot. My response has been edited. The increment should be after the imageNum is used.
Abhishek Sur wrote: I just used this for security purpose.
Explain?
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: Explain
Might be if somebody initializes it with "" .. or using some existing variable which is having value as character... (Not in this code )
|
|
|
|
|
Hi,
I want to build a user friendly SQL builder for my clients using AJAX? Can someone give me some ideas on how to do it?
Thanks,
Raja.
|
|
|
|
|
Start here[^] or here[^]
only two letters away from being an asset
|
|
|
|
|
Hi All,
i am struck in between the logic.
My question is i am loading the user control dynamically as follows.
step1:
--> In Defalut.aspx.cs--> page_Load i am written
--> Control uc = LoadControl("MyUserControl");
PlaceHolder.Controls.Add(uc);
step2: In UserControl there is GridView Control Need to bind the gridview only
in "Default.aspx.cs"
Can you please help me, how to bind the gridview control of usercontrol which is loaded and need to bind only in Defalut.aspx.cs
Thanks in Advance.
JohnDas
|
|
|
|
|
Johndas wrote: how to bind the gridview control of usercontrol
The way you normally would, assign the datasource and call DataBind.
Johndas wrote: need to bind only in Defalut.aspx.cs
Set the data source for the gridview to null in this case.
only two letters away from being an asset
|
|
|
|
|
Make the gridview of the Usercontrol as public,
Add
uc.gridView.DataSource= yourdatasource;
uc.gridView.DataBind();
Or you can modify the control to handle this itself ..
|
|
|
|
|
IMO, a very poor design to directly expose the controls within a user control or server control.
only two letters away from being an asset
|
|
|
|
|
Ya. Then he can have a property(I thought the user already knows the use of properties ) to expose the gridview...
|
|
|
|
|
Then why the down vote?
only two letters away from being an asset
|
|
|
|
|
Sorry friend... Vote changed.
|
|
|
|
|
Thanks, but negated by pettiness from MarkyMark1961[^] I assume
only two letters away from being an asset
|
|
|
|
|
These downvoters have the opposite effect in the end. I've corrected the 1 votes.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks
only two letters away from being an asset
|
|
|
|
|
|
Not worth asking here IMHO. Might be better off asking in General IT issues or Work and Training related issues forum.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Are you the one asking, or the one getting the interview ? If you don't know what to ask, then you don't know how to hire someone. If you don't know the answers, then we can't possibly give you the exact answers to lie your way into the job, nor would we want to.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi
in a webapplication to redirect a page to another page i am using the following code
Response.Redirect(dl.url + "LoginPage1.aspx", True)
where dl.url is my wesite url
it worked fine for few months back
but now it showing a error
i found that it is response.statuscode=200
now what is this Response.Statuscode=200 error
how can i solve this
earlier it worked fine ,i didnt touch the code in this page and it is also giving the error like this
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.masterpage_master'.
Source Error:
Line 1: <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: C:\Inetpub\vhosts\shieldpro.in\httpdocs\MasterPage.master Line: 1
please help me
|
|
|
|