|
Manas Bhardwaj wrote: you beat me by couple of seconds
|
|
|
|
|
Thanks for quick reply ..
i am using dot net framework 3.5 but not sure if i am having SP1 or not
I think Dundas and Fusion Chart are not free.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Sandeep Akhare wrote: i am using dot net framework 3.5 but not sure if i am having SP1 or not
You can download the SP1 and also download the Microsoft Chart Control Extension and Visual studio Plugins.
Sandeep Akhare wrote: I think Dundas and Fusion Chart are not free
Yes, But if you are hosting your site, you can ask them weather they are providing the license for that or not.
And, Fusion Chart having some Nice Free Chart Control, You can check them
FusionCharts Free v2.1 - Free Flash Charts[^]
Hope this will help you !!
|
|
|
|
|
Sandeep Akhare wrote: Is there any good tool available ?
There are many , but most of them are not free.
MS also released their own charting control [^]some time back but it need .Net framework 3.5 SP1
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 the reply
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
you can use report viewer control to show reports,charts
One person's data is another person's program.
--J.Walia
|
|
|
|
|
For great support at a cheap price I use ChartDirector
|
|
|
|
|
How can I rotate advertisement images by using java script.
Images will come from Data Base dynamically.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
and how is it related to ASP.Net.
Web Development forum is a better place to ask this. Infact, a simple google seach should help too.
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.
|
|
|
|
|
trilokharry wrote: How can I rotate advertisement images by using java script.
Images will come from Data Base dynamically.
You can use AJAX Slide Show, which is available with AjaxToolkit
or Here is an good application on Code project, using JavaScript
Slide-Show User Control[^]
Hope, this will help you !
|
|
|
|
|
I took advantage of some code I found on these forums and have created a form that has a nested gridview. The first gridview is bound using the SqlDataSource and on the OnRowBound event, bind data to the nested gridview. Then using JavaScript i hide the nested gridview until the user clicks on an image. The code I found for the javascript nested grid view is here. I then added code to highlight the selected row in the the first gridview. What i need to know is how would I go about adding code to make it so that I can do the same for the nested gridview?
Sample code
protected void Page_PreRenderComplete(object sender, System.EventArgs e)
{
//GridView nestedGrid = (GridView)GridView1.FindControl("GridView2");
foreach (GridViewRow y in GridView1.Rows)
{
y.Attributes.Add("onclick", "setSelected(this);");
}
}
function setSelected(selRow)
{
// alert(selRow.rowIndex);
var tbl = document.getElementById("GridView1");
for(var i = 1; i < tbl.rows.length; i++)
{
if(selRow.rowIndex == i)
{
selRow.style.fontWeight = "Bold";
selRow.style.backgroundColor = "Yellow";
}
}
}
But once i moved to child grid that time Click event of parent Grid cell does not fired so all highlited row of parent grid gone.
so how to solve it
Raghvendra
modified on Tuesday, June 30, 2009 12:06 PM
|
|
|
|
|
Hi all,
I have 2 questions about CSS for my ASP.Net app. (I'll admit this is heavily CSS skewed rather then ASP.Net, but it seems the most appropriate forum?)
1) I have a div inside another div. I have used CSS to position the inner div above the outer div so that I can make something appear to pop up on postback. This works fine in IE, but in other browsers it seems to stop me clicking on any control inside the inner div. Does anybody have any idea what I can do to avoid this problem?
2) If there is a disabled button on the form, what is the CSS to stop the font from appearing embossed? I can already change the basic appearance of the button, but I'm having problems when the button is disabled - any ideas?
Thanks in advance,
Chris
[Edit: It has been pointed out that this should be in the Web Development forum. I'm not going to delete this post so that it can be referenced later.]
[Edit 2: I have now found the solution to (1) - I accidently had an invisible div above the rest of the page - I used a px measurement rather then a % by accident in my CSS]
modified on Wednesday, July 1, 2009 4:34 AM
|
|
|
|
|
c2423 wrote: I'll admit this is heavily CSS skewed rather then ASP.Net, but it seems the most appropriate forum?
No, it is not. Web Development forum is more appropriate.
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.
|
|
|
|
|
Oops - my bad. You are quite right. If anybody is able to move it there I'd appreciate it!
Thanks,
Chris
|
|
|
|
|
c2423 wrote: If anybody is able to move it there I'd appreciate it!
AFAIK : There is no such privilege to any member to move the post from one from to another forum.
So, you have to do it your own
|
|
|
|
|
Not my day for forum navigation today it seems! I'll move it tomorrow.
Thanks,
Chris
|
|
|
|
|
when i download the file which is in arabic name and extension is .txt when i click on download button iam getting the arabic file name with junk characters and the file content is coming with aspx code
how to solve this problem
|
|
|
|
|
Where is the code for download ?
|
|
|
|
|
Response.AppendHeader(Content-Disposition", "attachment; filename=" +Server.UrlPathEncode(EncodeFile));
Sabrysoft
student at Faculty of Computers and Information(FCI)
4th year Computer scince Department
helwan University
Egypt
|
|
|
|
|
Greetings. I am trying to build a form with one listbox and one drop-down list.
For the listbox, I'd like the user to only be able to select 3 items. Is there any way to limit that? I'd also like the other control to be blanked out once the user selects something from the other control. I am able to do this for the listbox with onSelectedIndexChanged since only one selection is made, but if I do this for the Listbox it seems to trigger a postback each time. I was hoping for just the equivalent of OnFocus. Is this possible in .NET or would I have to use JavaScript?
And does anyone have any good code snippets for either of these?
Thanks in advance.
|
|
|
|
|
mjc225 wrote: I am able to do this for the listbox with onSelectedIndexChanged since only one selection is made, but if I do this for the Listbox it seems to trigger a postback each time.
Change the ListBox SelectionMode = Multiple , Put the ListBox inside Update Panel , Use One Counter- Maintain the Counter Value in ViewState ,Now onSelectionIndexChaged , Increase the count and Update the ViewState , Check the value on every partial post back, If its greater than three show message.
Hope this will help you !
|
|
|
|
|
I want to call .cs function from the .aspx page how can i call the function
Thanks,
|
|
|
|
|
hi Amit,
You can call a .cs function from .aspx page. But, what sort of a function has to be called - is it a build in function from cs library or a function created by you? If it is a build in library method, just include the namespace like how you include normally.
using System.Collections.Generic;
Now, if it is a method that you defined in your own class, you just need to make sure that you save the cs class under App_Code folder in your asp project.
Good Luck.
|
|
|
|
|
|
Well, ideally you should use a web service for this.
But, if it is a no go and you still want to follow this approach you can google for PageMethods.
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.
|
|
|
|