|
Adding to what CG said: install firebug which is an extension for firefox and debug your JS.
|
|
|
|
|
Yeah, I usually remember to say that, that's excellent advice. Firebug rocks.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Christian Graus wrote: Firebug rocks.
Yes. It rocks. But I am worried, it's showing some weird behavior in FF3.
|
|
|
|
|
hello frnds,
how can i get version of PDF file using asp.Net
any help ???? hint ???
thankx in advnace
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
You mean you want to find out what version a PDF file is using .net?
We are not a Code Charity
|
|
|
|
|
in RadioButtonList
how to get Text and Value of ListItem
when we check any one using java script function
rbtnHeader is ID of RadioButtonList
var s = document.getElementById('<%=rbtnHeader.ClientID%>').value;
value of s is undefined.
so how to do?
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
RadioButtonList is rendering as radio buttons with html table.
So you cal add an onclick event to the asp:ListItem Something like below.
<br />
<asp:listitem text="T1" value="V1" onclick="GetVal('rbtnHeader_0');" ></asp:listitem><br />
<asp:listitem text="T2" value="V3" onclick="GetVal('rbtnHeader_1');" ></asp:listitem><br />
and the js is
<br />
function GetVal(cntrl)<br />
{<br />
var x=document.getElementById(cntrl);<br />
alert(x.value)<br />
}<br />
I dont know how good this is.But It will work.
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
how to change the cursor color when focus textbox Or readonly textbox or enabled false textbox
lav naphade
|
|
|
|
|
How to Solved Excel formula through vb.net,have any book which have all formula solution step by step for example LINEST and any other other formula. Please help me.
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
You could ask it better in some other forum.
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
This is not an ASP.NET question. You CAN control Excel in VB.NET, there's an SDK for that. Your users will need Office, of course.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
NO i do not want to use Excel control,i want library or dll which contain the all formula of Excel . For Example:- Statistics,finance,math math and etc
Its not only asp.net question i think Dll and lib.use in both.
i have gated one link but its contain only finance formula.
www.visualnumerics.com/products/imsl/jmsl/v40/api/com/imsl/finance/accrintmEx1.java - 2k[^]
Please Help me.
Thankue
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
OK - sorry but your wording was not clear.
Your best bet is to just research and write the code for the formulas you want to use, I would expect. It's just a little math.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Hi,
I have one html table, table contains rows and columns(cells). Now i want to do some animataion like Moving stripes of a cell.
How to do, or give me any suggestions to animate a cell dynamically using css or javascript or c#
Thanks and Regards
RakayaD
|
|
|
|
|
Animation is usually done using flash especially if you want the cells to move.
In my opionion it would be better not to use flash
We are not a Code Charity
|
|
|
|
|
Hi,
I am binding a data in a detail view at run time. But I also want to edit it at the run time. I have tried the following code.
Protected Sub Detailsview1_ItemUpdated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewUpdateEventArgs) Handles Detailsview1.ItemUpdating
Dim index As Integer = Generic_DG.SelectedIndex
Dim con As New SqlConnection(ConfigurationManager.AppSettings("connectionString"))
Dim cmd As New SqlCommand()
cmd.CommandText = "UPDATE Products SET ProdName=@ProdName where ProdId=@ProdId"
cmd.Connection = con
cmd.Connection.Open()
cmd.ExecuteNonQuery()
cmd.Connection.Close()
End Sub
How can I replace @ProdName with data in a detail view?
OR
Which property of the detailview I have to use for it?
Rock Star
modified on Friday, July 4, 2008 4:16 AM
|
|
|
|
|
Hi
Have a look at this
Details View[^]
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Hi,
I am planning to use dbprovider factory class and retrieving and binding the detailsview with the dataset at runtime. And now I want to edit the data in it. I am not using a data source. So how can I edit the data in a detail view now. So what code or property should I add in a detailsview to update the data in a detailsview.
Rock Star
|
|
|
|
|
Hi,
How to check whether the session is created or not in c#? I am using like If (Session("Name") == null), but it is showing error named, object reference is not set to an object. tnx in adv.
Balasubramanian K.
|
|
|
|
|
if (Session["Name"] != null)
{
stName = Session["Name"].ToString();
}
else
{
stName= "";
}
something like the above
We are not a Code Charity
|
|
|
|
|
tnx. It is working fine.
If it is working with !=, why it is not working with '=='. Why it throws error?
Balasubramanian K.
|
|
|
|
|
It should work!
Can you copy and paste your coding.
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
BalasubramanianK wrote: why it is not working with '=='
if you are comparing with a string, like
if(nameStr==Session["name"] )<br />
;
then, for that you need to first use ToString().
like this ...
if(nameStr==Session["name"].ToString()) <br />
;
Is these you were looking for ... ?
|
|
|
|
|
BalasubramanianK wrote: If it is working with !=, why it is not working with '=='. Why it throws error?
Do you know what != and == means ? First one is checking inequality and second is equality checking. So if you write
if(Session["name"] == NULL)
string name = Session["name"].ToString(); will throw error as you are trying to access a method in a NULL referenced object. If you change the code to
if(Session["name"] != NULL)
string name = Session["name"].ToString(); , you are accessing ToString() only when Session["name"] exist.
Hope it helps
|
|
|
|
|
Hi everybody
I am developing a web project usin asp.net 2005 and sql erver 2000.
In web.config file when i gave Computer name then it connects but when I give IP address it gives following message
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005,
this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
(provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
Can anybody tell me what is Problem?
Raghvendra Kumar Roy
|
|
|
|