|
Good Answer
If It Helps Click It as Answer
|
|
|
|
|
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Thanks for your instant reply, Abhijit.
But i have already done that.. I am able maintain the status of all check boxes in every page on pagination...
I use RememberOldValues() and RestoreOldValues() function for that..
I am facing the problem when I retrieve all saved status of check boxes from database and show them when user select particular role from Combo box.
The status of selected Check boxes of first page get reflected but the status of check boxes on second page did not get reflected... one can say binding data to second page of grid view is not working....
Can u help me in this situation ......
|
|
|
|
|
Is it possible to maintain treeview state across postbacks? I have a treeview on a masterpage. I want the treeview to maintain its expand/colapse state when the user navigates to different pages.
|
|
|
|
|
If am not sure if you tried to serach this on google, but I found some very interesting links. Give this [^]a try.
And if you still do not find any answer, come back here I'll explain this to you.
Don't you think this would be a good learning excercise?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Nothing works.I am unable to maintain the tree view 's expanded /collapsed state
|
|
|
|
|
hi
when i click on submit button, page is postback and value of file upload control is lost.
can i maintain this value. i need value in text area of file upload control.
i got the value using hidden field but its not display in file upload control.
is their any way(s) is find out of this solution?
Regards
Keyur Satyadev
|
|
|
|
|
I think U Can Use Ajax update panel without updating value of File Upload Control or store it in session or query string .
And u Can Retrieve Back.
If It Helps Click It as Answer
|
|
|
|
|
in update panel file upload control will not work properly. i check it.
Regards
Keyur Satyadev
|
|
|
|
|
|
Do you thing, you will able to get the full file path from FileUplaod Control ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Abhijit Jana wrote: Do you thing
If It Helps Click It as Answer
|
|
|
|
|
Which value you want to store on session ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
|
Hi all,
Is there any predefined thing in C# to convert the dollar into rupee or ice versa
Thanks,
Amit Patel
|
|
|
|
|
|
Abhijit Jana wrote: Try this :
How does this give an answer his question???
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Amit Patel1985 wrote: Is there any predefined thing in C# to convert the dollar into rupee or ice versa
What does it has to with ASP.net?
Btw, there is no such thing in C# or in any other language( AFAIK ) which supports currency conversion.
You need to get the conversion rates of the currency for this. And a simple mathematical function will do that.
private float ConvertToRupeeFromDollar(float fAmount, float fConversionRate)
{
return fAmount * fConversionRate;
}
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hii,
There is Cust0m Converter convertor in java .is there any like custom converter in C#.
Thanks,
Amit
|
|
|
|
|
Hi guys really i got tired in this...,
i am using create xmlhttp concept in my project...,
its working fine in ie...,but not in mozilla...,
in mozilla if i give the alert statement for my request object...,
its working fine...,if i remove the alert its not working...,
really not getting whats the probs...,
function CreateXmlHttp1()
{
var browserName=navigator.appName;
if (browserName=="Microsoft Internet Explorer")
{
if(window.ActiveXObject)
{
try
{
senNif = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
senNif = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(oc)
{
senNif = null;
}
}
}
}
else
{
if (window.XMLHttpRequest)
{
senNif = new XMLHttpRequest();
}
}
}
function SetNewDiscussion(txtcomment,txtname,txtemail)
{
var tf=checkTextArea(txtcomment, "2000");
if(tf == false)
{
alert("Please Enter only 2000 characters");
return false;
}
if(txtcomment=="")
{
alert("Enter Your Comment");
document.getElementById("txtDiscComment").focus();
return false;
}
else if(txtname=="")
{
alert("Enter Your Name");
document.getElementById("txtDiscName").focus();
return false;
}
else
{
var bloghidsrno=document.getElementById("<%=hidblogsrno.ClientID %>").value;
var tdDiscnewresult=document.getElementById('tdDiscnewresult');
var Url;
Url="BlogsDiscussionInsert.aspx";
var params = "blogsrno="+bloghidsrno+"&txtcomment="+txtcomment+"&txtname="+txtname+"&txtemail="+txtemail+"×tamp="+new Date().getTime();
CreateXmlHttp1();
var type="RP";
if(senNif)
{
senNif.open("POST", Url, true);
senNif.onreadystatechange = function(){getDataResponseNew(tdDiscnewresult);};
senNif.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
senNif.setRequestHeader("Content-length", params.length);
senNif.setRequestHeader("Connection", "close");
senNif.send(params);
}
}
window.location.reload();
}
function getDataResponseNew(id)
{
//alert(senNif.readyState);
if(senNif.readyState == 0)
{
id.innerHTML="UNINITIALIZED";
}
else if(senNif.readyState == 1)
{
id.innerHTML="LOADING";
}
else if(senNif.readyState == 2)
{
id.innerHTML="LOADED";
}
else if(senNif.readyState == 3)
{
id.innerHTML="INTERACTIVE";
}
else if(senNif.readyState == 4 && senNif.status == 200)
{
id.innerHTML=senNif.responseText;
}
}
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Dude! I don't find anything wrong but u were reloading your page imdtly sending request. can u comment it and have a try
//window.location.reload();
|
|
|
|
|
Hi All,
I have developed a site(IN Classic ASP) for news channel and i want to implement/Show Live vedio on site . Its just like a chennal on web where user can see pre recorded video. How can i implement this functionality in classic ASP site?
My site in classic ASP 3.0 and MS sql server 2005. My hosted server is not streaming server. please help ...
Thanks in Advance
Life is not easy ,let's make it.
|
|
|
|
|
asprajesh wrote: My site in classic ASP 3.0 and MS sql server 20
So, What are doing in ASP.Net forum?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Thanks for your suggestion.
Life is not easy ,let's make it.
|
|
|
|