|
no this is not possible in windows xp.
|
|
|
|
|
How to stop the submit behavior of a Button(Server Ctrl)
|
|
|
|
|
Attach onClientClick event in at client side and call a javascript method which return false. Cheers!!
Brij
|
|
|
|
|
Hi..
We need to create a grid view control with multi column sorting with Up and Down Icons in header, can you give me a reference article for it.
Thanks,
Abbas
|
|
|
|
|
For sorting just have a look
msdn
For images,you can put the images in header,put both image up and down and show them according to the current behavior.At server side you can maintain the sorting type in some viewstate property.Cheers!!
Brij
|
|
|
|
|
|
Cheers!!
Brij
|
|
|
|
|
Could you solve? I had exactly the same problem, only i wanted to have the icons in the rows
|
|
|
|
|
Hi everybody
I have implemented a website to post messages and replies to those messages
now I want to allow users to enter programming source codes.
how I can do this.. I mean is it possible to implement a control like here in code project...
Please help me...
Thankyou...
|
|
|
|
|
There is no such control here. You just paste or write the text and apply a style to it. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi what im askin myself is how i can sort my gridview depending on the rank column in the database?
Its Loos like this
http://img2.immage.de/09028ecclientpic.jpg
I want to move rows up and down in a GridViewmodified on Tuesday, February 9, 2010 9:40 AM
|
|
|
|
|
I solved it(;-
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Up")
{
int i = int.Parse((string)e.CommandArgument);
GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i - 1].Values[0].ToString()), i + 1);
GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i);
BindData();
}
else if (e.CommandName == "Down")
{
int i = int.Parse((string)e.CommandArgument);
GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i + 1].Values[0].ToString()), i);
GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i + 1);
BindData();
}
}
|
|
|
|
|
Hi,
I want to do screen scraping i.e to get the data from a particular site after post back.
e.g
1)www.funjet.com
2)enter the origin and destination in the saerch criteria on the left
3) Get teh Avaibility page , and not to scrap the required data.
Need to perform the above operation through the code.
|
|
|
|
|
|
hi,
i want to use "System.DirectoryServices.AccountManagement" this dll.
The problem is that when i am trying to add this throug addreference that time this dll is disable.
Any solution how to enable this one.
|
|
|
|
|
The problem is that this is a 3.5 .NET dll.
If your asp.net website uses a lower .NET version, then all dlls you can't
add (because of the version) become gray and you can't add them.
Greetings
Covean
|
|
|
|
|
hii am using web service in my application.i added web refrence.now i am trying to use
it in my code.actually it is temperature conversion web service.
the code is:
Protected Sub ConvertButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ConvertButton1.Click
Dim wsConvert As localhost.Convert()
Dim temperature As Double = System.Convert.ToDouble(TemperatureTextBox.Text)
FarenhiteLabel.Text = wsConvert.FahrenheitToCelsius(temperature).ToString()
End Sub
but i am not getting the function FahrenheitToCelsius()
plz guide me where am i wrong...
|
|
|
|
|
did you declare webmethod in webservice on the top of method..!
If yes Show your Webservice method full in code block..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
It'll be better if you post webservice code. Cheers!!
Brij
|
|
|
|
|
web service code:
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class Convert
Inherits System.Web.Services.WebService
<System.Web.Services.WebMethod()> _
Public Function FahrenheitToCelsius(ByVal Fahrenheit As Double) _
As Double
Return ((Fahrenheit - 32) * 5) / 9
End Function
<System.Web.Services.WebMethod()> _
Public Function CelsiusToFahrenheit(ByVal Celsius As Double) _
As Double
Return ((Celsius * 9) / 5) + 32
End Function
End Class
implementation code:
Partial Class Default4
Inherits System.Web.UI.Page
Protected Sub ConvertButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ConvertButton1.Click
Dim wsConvert As localhost.Convert()
Dim temperature As Double = System.Convert.ToDouble(TemperatureTextBox.Text)
FarenhiteLabel.Text = wsConvert.FahrenheitToCelsius(temperature).ToString()
'wsConvert.FahrenheitToCelsius(temperature).ToString()
' CelciusLabel.Text = "Celsius To Fahrenheit = " & _
' wsConvert.CelsiusToFahrenheit(temperature).ToString()
End Sub
End Class
|
|
|
|
|
i got the solution...
jst changed the code line as:
Dim wsConvert As localhost.Convert()
to
Dim wsConvert As localhost.Convert = New localhost.Convert()
nyway thanks.....
|
|
|
|
|
good njoy Cheers!!
Brij
|
|
|
|
|
hello
actually i've developed a asp.net 2.0 multilanguage website by using localization incl. resource files.
now i've got a problem with the following question:
how can search engines detect my multilanguage website-content ?
can they detect the resource-files ?
thanks for any help
cheers
lutz
|
|
|
|
|
Hello Friends,
I've a GridView inside an Update Panel. There is a Select Command inside the GridView as i click on Select Link for a row. It has to fill the labels with the value brought at RowCommand for Select Command but labels are outside of the Update Panel so it's not showing the values in the labels. But if i use PostBack Trigger then it's working fine but taking an postback. So i want to use something for AsynPostBack. So suggest me the way
|
|
|
|
|
Hi there,
I was looking for a chat program, and I found it here in Code Project,
Build a Web based Chat using ASP.NET Ajax (http://www.codeproject.com/KB/ajax/aspnetchat.aspx)
The code is working perfectly,except 2 issues,can anybody tell me how can I overcome these issues?
1-how can I get for example the last 2 hours chat from the database, when a new user enters to the chat room? I tried the getlastmessage stored procedure, but because of the refresh, it keeps showing the messages over and over. any solutions?
2-In firefox after I hit the enter on keyboard I see two messages instead of one. sometimes it happens in IE too.
Thanks in advance
|
|
|
|