|
The Article by Britney S. Morales Here[^] will help you.
Regards,
Satips.
|
|
|
|
|
Hi All I m new to asp.net.
I want to create a page on which different images are displayed. It will work like remote control. There will b a main Image. And in the lower part of the page there will be other images. I want to swap the main image with the other one when some one click on image in the lower part. Please give me any link, where I can start.
|
|
|
|
|
Maybe something like the below?
Fred
<html>
<head>
<script language="javascript">
<!--
function swapImage(i) {
mainPic.src = i.src;
}
// -->
</script>
</head>
<body>
<img id="mainPic" src="default.jpg">
<br><br>
<img src="image1.jpg" width="100" height="100" onclick="swapImage(this);">
<img src="image2.jpg" width="100" height="100" onclick="swapImage(this);">
<img src="image3.jpg" width="100" height="100" onclick="swapImage(this);">
</body></html>
|
|
|
|
|
Thank u dear,
It realy help me.
|
|
|
|
|
i have created a web application in c# and ASP.NET1.1 that is having a button on click of which
spawns a web page which is hosted on my localhost!
i have given the URL to my friend.Now he/she access it .
I want a alert box or some notification on my local computer that the webpage from my localhost
is being accessed.
Is it possible with .NET 1.1 ?
If yes, how?
Thanks in advance
|
|
|
|
|
I dont know how you get an alert window if some one browsing your url from his/her PC. but try the following, you just copy and paste the following into your web.config file.
<trace enabled="true" requestlimit="10" pageoutput="false" tracemode="SortByTime">save the file. then ask your friend to browse the URL which you given. after that, your browse the URL like: http://localhost/yourapp?trace.axd
Karthik
|
|
|
|
|
now where i get the traced thing?
i m not getting anything .
Can u please u explain in a bit detail?
Thanks
|
|
|
|
|
if you are followed the steps properly. you will see the trace details by entering the following URL:
http://localhost/yourappname?trace.axd
suppose my virtual directory name is "bhavna" the URL would be:
http://localhost/bhavna?trace.axd
remember you did not mention your page name here.
Karthik
|
|
|
|
|
see i have created a web application which is having a button.
On button click i coded
Response.Redirect("http://mycomputername/abc.php");
which opens a php page on button click
Now i have given this link to someone else
http://mycomputername/Popalert/webForm1.aspx
and turned trace to true.
when i accessed
http://mycomputername/Popalert/webForm1.aspx?trace.axd
i got nothing but the page which is the webform.
No trace i got
|
|
|
|
|
|
i got the traced output but can't we give an alert box in local comp that
the web page is accessed
Can we do this?
|
|
|
|
|
I dont know how to popup a message box when the end-user requesting the page. i will send a mail to you once i got the solution.
Karthik
|
|
|
|
|
ok thanks!
so nice of u!
please mail me if u get the solution
thanks for quick response
|
|
|
|
|
I want the regular expression to validate the following things in RegularExpressionValidator(REV)
1. Contain at least 6 alphanumeric characters.
2. NOT be all numeric
3. NOT allow the User ID to be House OR Guest
Can any one suggest on this.....Thanks in advance.
Kumar Santhosh.
|
|
|
|
|
Hi to all
I want to know how to create the report for all Branches .
I already created for the particualr branch when selected in dropdown box; but if i have ALL option in the DropDown Box then it should show me all the
branch report for that i write the sp which takes branch_id, fromdate
and todate parameter. and it shows me the rport but how to handle this ALL.
Thanks.
|
|
|
|
|
Your Stored Procedure should look like the following:
CREATE PROCEDURE sp_Branch_Report
@branch_id nvarchar(20) = NULL,
@fromdate datetime = NULL,
@todate datetime = NULL
when you call the above stored procedure:
ALL->sp_Branch_Report
BranchId->sp_Branch_Report 'BRANCH1'
Date->sp_Branch_Report null,'01/05/2007','30/05/2007'
another example->sp_Branch_Report 'BRANCH1','01/05/2007','30/05/2007'
hope this could resolve your problem. ensure the date format before you pass it.
Karthik
|
|
|
|
|
How to declare a variable in source file i.e .aspx* and assign value in the code behind file
i.e .aspx.cs
thank you
vijaya
vijaya
|
|
|
|
|
I want to create a "Windows Scheduled Tasks" during the setup of my web application and it was created successfully. sometimes the user might change the scheduled time for the job. but i have found that there is no option to change the schedule time for a job. so that, i have decided to delete and recreate the job in (windows scheduled tasks) through my .aspx page. but it was not happening. could you anyone guide me how to accomplish this.
The authentication mode is "Windows". i have also tried creating jobs using "AT.exe".
Karthik
|
|
|
|
|
I have a report that displays the percent of true or false answered for questions.
I am using pie chart to display the result.
In case either of the value is 0, no label is displayed saying 0% on the chart
Is there any way to display it?
|
|
|
|
|
hi,
Here i have a gridview(gvChild) inside the item template of another gridview(gvParent),but here i am unable to perform updations in the inner gridview(gvChild),how to solve this?plz help me any one..
Machendra
|
|
|
|
|
machendra wrote: unable to perform updations
What problem/error occuring?
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Hi all,
I checked many forums to find a solution for my problem, so far in vain. Perhaps because I don't really know which keywords would bring me to a solution.. Anyway my problem is as follows:
I need to be able to change the characters "[" to "ë" and "]" to "ç" as the user types them in a textbox (and/or textarea). For individual cases I've found a solution using javascript and the onkeyup event and it works perfectly.
However, since I am most probably going to need such a feature for any webpages (and all editable text controls in them) I design in the future, I was hoping that there is a way to change the actual ASP.NET TextBox control in such a way, that it by default has the onkeyup='changeAllBracketsToAlbanian(this)' included. A customized TextBox is not a big help because things get complicated with GridViews that would only render classical TextBoxes...
I appreciate any ideas.
Thanks
|
|
|
|
|
Hi,
I think You can create a user control in such a way.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
You should also be able to use your custom controls within a gridview template column.
|
|
|
|
|
Thanks Sherin and Paddy
That was my idea initially but I have complete websites and I cannot allow myself to make such interventions. I came up with a solution that works on IE7 (I know it does not work under Firefox, haven't tested other browsers but I strongly believe it does not work there either). I'm just adding the following code at the end of each webpage and it seems to do it...
<%-- add the following code at the end of each webpage, just before the </html> --%>
<script type="text/javascript">
debugger;
function al()
{
var ae =document.activeElement;
if(ae.type=='text') {
ae.value=ae.value.replace('[','ë').replace(']','ç');
}
if(ae.type=='textarea') {
ae.innerText=ae.innerText.replace('[','ë').replace(']','ç');
}
}
var inputs=document.getElementsByTagName("input"); for(var i=0;i<inputs.length;i++)
{
if(inputs[i].type=='text') {
inputs[i].setAttribute('onkeyup',al); }
}
var inputs=document.getElementsByTagName("textarea"); for(var i=0;i<inputs.length;i++)
{
{
inputs[i].setAttribute('onkeyup',al); }
}
</script>
|
|
|
|