|
Hey Nigam Samir,
I believe I can help you...
Please Add the following code into the DataGrid ItemDataBound Event.
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
e.Item.Attributes("onclick") = "javascript:this.bgColor='blue';"
End If
Have a happy programming...
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
Thanks Venkatesh.
This code change back ground color of particular item not border color of that item.
|
|
|
|
|
You can try out by using BorderColor in place of bgcolor.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Come on man... He is taking about JavaScript. "BorderColor" is not a attribute or style of a Table Row...
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
I NEED TO DEVELOP AN INTRANET BASED APPLICATION WITH FOLLWING REQUIREMENTS.
-EMAIL SERVER
-AUTO SMS DELIVERY ON USER ACCOUNT.
I HAVE COMPLETED THE EMAIL SERVER PART NOW I AM GETTING DIFFCULTY IN AUTO SMS DELIVERY
PLZ HELP ME TO SOLVE THIS PROBLEM
HOW COULD I DO IN ASP.NET.
I WANT TO CONNECT MY MOBILE AND SEND SMS FROM IT.
MIR IQBAL ALI
|
|
|
|
|
I think you should first of all, STOP TYPING UPPERCASE!!! This doesn't make us reply or type quicker!! Have you read some articles about sending sms messages from a computer? You need an SMS Server kind of construction which sends the messages via a modem line to you phone provider, which handles the message and actually sends the message in the air.
I think you should be able to send the message to you cellphone, en let it send the message but have no experience using that solution. It might also depend on the cellphone you're using (i can't send sms messages through my computer having a smartphone)
You should consider one of those SMS servers
|
|
|
|
|
Hello,
I have developed a Web service and a PDA application. The Web service and SQL database are on the same server.
The client will use the PDA application and access the web service to get data on customers.
The web service, PDA application, and SQL server have all be developed and are working using the localhost, local network. By adding the web reference.
My problem is when I want to add the web reference from the Internet. This is because the clients will be on the road or at a clients office. And will need access to their data.
I have added the web reference in the normal way. Right click | Add reference. From the Internet I can access the server and add the web reference. However, the problem is that wsdl file is never included.
Some tests i have done.
Test 1
Accessing the web service when adding the web reference from the local computer, or local network. The following files are included: reference.map, service.disco, service.wsdl.
Test 2
Access the web service from the Internet when adding the web reference.
The following files are included: reference.map, service.disco. THERE IS NO service.wsdl.
Test 3
If I access the web service directly from a browser, I can see the list of web methods and descriptions.
Test 4
If i acess the web service from the Internet when adding the web reference like the following: http://MyServer/service.asmx?wsdl. The only file that is included is the service.wsdl.
I have created another simple web service that just displays the hello world. This has the same problem as above, but maybe you can use it for testing my web service.
http://cf01.no-ip.com:8000/webservice1/service.asmx
However, the above link works, but sometimes is offline.
If you can give me any advice or help with this problem I would be most grateful,
Thanks in advance,
Steve
|
|
|
|
|
I'm working on an application where clients can upload files, but those files should be stored encrypted.
I am using a propietary uploader quite similar to asp.net uploader, and I was trying to encrypt the file to another folder and delete the original one.
To do the encryption tried using Rijndael as seen on: http://www.codeproject.com/dotnet/EncryptFile.asp[^]
The problem is that this article is reffered to a local application, so when I use System.IO.FileStream type on an URI address, it doesn't work.
I've been trying to use System.Net.WebClient namespace whithout much success.
Any clue on how I can proceed?
Thanks
|
|
|
|
|
Why don't you upload the file to the server and encrypt the file server side once uploaded?
|
|
|
|
|
That's what I meant.
I couldn't encrypt the file using URI file paths
Anyway I've solved the problem now. I use the real file path from inside the server, so there is no problem using fileStream.
|
|
|
|
|
That's exactly the way to do it, because else you would access the file via IIS which probably leaves you with lots of problems and most of all, not enough rights to manipulate the file.
|
|
|
|
|
Hello everyone
In web applications how increase and decrease(alternate) the font size of a label.
i have tried it with the help of a timer but can not do it.
eg.
after every second i want to set the font size to 20 again after one second make it 16.
how i can do it programmatically.
any help plz..
|
|
|
|
|
Use JavaScript...
<script language="JavaScript" type="text/javascript">
function SetFontSize()
{
// JavaScript to set fontsize
setTimeout("SetFontSize()", 1000);
}
setTimeout("SetFontSize()", 1000);
</script>
.: I love it when a plan comes together :.
http://www.zonderpunt.nl/
|
|
|
|
|
but how this code will know the name of control to which it is applied.
also no any font size????????
plz clarify
|
|
|
|
|
Hrmmph... You should replace the
// Javascript to change fontsize
line into something serious changing the fontsize...
Should be something like :
if (document.yourobject.style.fontSize == '20px')<br />
document.yourobject.style.fontSize='16px'<br />
else<br />
document.yourobject.style.fontSize='20px'
|
|
|
|
|
|
Try to be serious. This way you may distract the person who wants to give the answer as well as the one want to ask.
Every job is a self portrait of the person who did it.
|
|
|
|
|
There is "modify" button, in case you need it...
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I have datagrid on my aspx page.When I clicked on select, the row elements of datagrid should get display in respective textbox(html textbox)below.I have 3 button Add,Change and Reset.When I click reset button(html Button)all the textbox values should get cleared,so I have written Javascript code for this.
Now my problem is that when I click reset button all my textbox gets clear as I have put alert to check this but again the textbox values r displayed with same value.
Also if I clear mannually then type something in those textbox and click reset button it gets to the same values which was displayed from Grid.
Please help me.
Thanks in advance..
|
|
|
|
|
I want to add columns at runtime in crystal report, I tried so many thing but all gone in vain. The problem I found that in CrystalReport.rpt we have to define columns at design time, which I don't want to. Please help.
Thanks
|
|
|
|
|
Hi,
I am working in ASP.NET. I need to get the list of SQL Servers registered on the local machine. How can I get this??
regards,
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
|
I want to get information from web page using javascript and it must send to server.
prasanna
|
|
|
|
|
Information about you?
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
Then what exactly is your question??
|
|
|
|