|
You don't need any of them. Using those frameworks, just makes everything more confusing (you have to learn them and work around them) and is an excuse to not learn javascript. Just do all your ajax stuff in javascript using the prototype library. I'd be suprised how well AJAX font-end + ASP.net back-end work togeather.
/\ |_ E X E GG
|
|
|
|
|
Hi
Is there a spreadsheet control available in ASP.NET?
Thanks
|
|
|
|
|
There are commercial ones, or you can use the datagrid ( which is not quite the same thing )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
What kind of technique does Google use? It must be custom of course, but I heard they used VML or SVG?
What would you think be the best method to implement a custom spreadsheet control ?
|
|
|
|
|
I dunno, I guess look at the source.
Revant Jain wrote: What would you think be the best method to implement a custom spreadsheet control ?
I dunno that I'd use SVG. It seems to me that a spreadsheet is a table, and the rest of it is just a bunch of javascript. I mean, how else could it work ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi All,
I am beginer in web designing. I designed a website and it looks fine in IE-6. But if I try to open the same in IE-7 or Mozilla firefox, it looks funny. The center column overalps with left hand side menu.
Meanwhile, I tried the below:
1) ie.browser and mozilla.browser files are included in the app_browsers directory.
2) Tried using "iehacks.css". In iehacks.css, I did the following:
a) "min-height:" is set to the divs that are having problem.
b) .clearfix:after {content: "."; display: block; height: 0; clear: both;
visibility: hidden;}
.clearfix {display: inline-table; min-height:1%;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
but these did not help me.
Could anyone please help me to resolve this issue.
Thanks in advance.
|
|
|
|
|
anyone plz help me....its very urgent!
|
|
|
|
|
Hello!
I'm quite new to the ASP.NET world and I'm trying to build a menu with sub menu items, I know that their is a pre-build Menu control but I still want to create my own. I'm only facing the last problem. The clientID's?
I've this recursive function:
<code>
private Panel GetMenu(int ParentID)
{
stefw.Database.Page objPage = new stefw.Database.Page();
Panel pnlBox = new Panel();
DataTable dtItems = objPage.GetChildPages(ParentID);
foreach (DataRow drItem in dtItems.Rows)
{
string url = "Default.aspx?Page=" + drItem["PageID"].ToString();
string name = drItem["Name"].ToString();
string link = "<a href=\"" + url + "\">" + name + "</a>";
Panel pnlItem = new Panel();
pnlItem.ID = "Item" + drItem["PageID"].ToString();
pnlItem.Controls.Add(new LiteralControl(link));
pnlItem.CssClass = "Item";
if (drItem["HasChildren"].ToString() == "1")
{
Panel child = GetMenu(int.Parse(drItem["PageID"].ToString()));
pnlBox.Attributes.Add("onMouseOver", "document.getElementByID('" + child.ClientID + "').style.overflow='visible'");
pnlItem.Controls.Add(child);
}
pnlBox.Controls.Add(pnlItem);
}
if (ParentID == -1)
pnlBox.CssClass = "MainItem";
else
pnlBox.CssClass = "Box";
pnlBox.ID = "Box" + ParentID.ToString();
return pnlBox;
}
</code>
and it gives this output:
<code>
<div id="ctl00_ctl00_Box-1" class="MainItem" onMouseOver="document.getElementByID('Box1').style.overflow='visible'">
<div id="ctl00_ctl00_Item1" class="Item">
<a href="Default.aspx?Page=1">Home</a><div id="ctl00_ctl00_Box1" class="Box">
<div id="ctl00_ctl00_Item3" class="Item">
<a href="Default.aspx?Page=3">Informatie</a>
</div>
</div>
</div><div id="ctl00_ctl00_Item2" class="Item">
<a href="Default.aspx?Page=2">Beheer</a>
</div>
</div>
</div>
</div>
</code>
You can see that it goes wrong at this line:
[document.getElementByID('Box1').style.overflow='visible'"]
and here
[pnlBox.Attributes.Add("onMouseOver", "document.getElementByID('" + child.ClientID + "').style.overflow='visible'");]
What am I doing wrong? Can anyone give me some advice? Thanks in advance!!!!!
Stef
|
|
|
|
|
ClientID is the id that the client sees. If you look at the source of your page from the browser (after it has been processed) your id's get changed to things like ctl00_YourID. There is a property for the controls called ClientID that you can assign the id so that you can access it with javascript on the client (this only matters for controls with runat="server").
|
|
|
|
|
Hi
I want to send an email out to a selection of people who will have registered for a course. Within their record they will have a course ID for the course they are on. I want to be able to click a button and it sends an email to all those with that courseID in their record. I can retrieve the course ID from the pages querystring.
Can someone please advise?
Many thanks
Adam
|
|
|
|
|
AdamskiR wrote: I can retrieve the course ID from the pages querystring
Only if the course ID is in the query string.
You should have some field or control where you select the course number you want to send emails for. Get the course ID from there when handling the button click event.
only two letters away from being an asset
|
|
|
|
|
The course ID is in the query string of the page.
Ive managed to get it now working.
Thanks
Adam
|
|
|
|
|
Hi,
In my ASP.Net application, ihave a calendar control created in javascript.On click of a image, the calendar pops up.I have two frames in my application.When i click on the button on frame1, i want the calendar to overlap the frame2.how to achieve this.currently since frame1 is 15% and frame2 is 85%, i can only see half of the calendar on frame1 and it does not allow me to drag it on frame2.
Plz helpme.
Thanks,
Riz
|
|
|
|
|
Is there any reason you are using frames rather than div?
You could use CSS positioning to accomplish what you want if you used divs
only two letters away from being an asset
|
|
|
|
|
Actually my frame1 is header and frame2 is displaying the content.
I have a button in frame1 which opens the calendar but i cant drag it to frame2.
plz help me out with this.
thanks,
riz
|
|
|
|
|
Frames are considered seperate, with their own DOMs. If you want this functionality use DIVs. Also Master Pages gives you the same layout, with header and content area without the overhead of frames and is the prefered method in ASP.NET
only two letters away from being an asset
|
|
|
|
|
Hello,
We have made a tool that generates code dynamically. We run that application in a server, but when the tool tries to create Virtual Directory on a user's PC, we get security exception.
I believe it is because the tool is running in the Server and trying to create Virtual directory in a network machine.
How can this exception be avoided and how can we create Virtual Dir in a user PC from Server?
Regards,
Blumen
|
|
|
|
|
Hello ;
I added grid view in my web project
and added buttun feild and covert it to template feild
and every thing works ok
protected void Grid1_Command(object sender, System.Web.UI.WebControls.GridViewCommandEventArgs e)
{
String z = (String)e.CommandArgument;
int indexGrid = Convert.ToInt16(z);
String CommandNamew = e.CommandName.ToString();
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["colliersUAEConnectionString"].ConnectionString.ToString());
switch (CommandNamew)
{
//-------------------------------------------
case "CmdUp":
{
.....
.........
gridView1.DateBind();
}
the command excute and page post back to the browser and make change in database but on gridView dont appear data be same excpet u make refresh to the browser
...
I added gridView1.DateBind(); in the end of command above ^
and also tried to add page.Bind on page load event but nothing change
plz any sugestion
aj123
|
|
|
|
|
I don't know how you populate your datasource for you gridview, but there is a good chance that you didn't re-select the data from the database, so when you databind, you are binding to the old data. If you happen to be using caching you might be using cached data. Still the base problem is you need to get the data again from the db and then do the databind.
Hope that helps.
Ben
|
|
|
|
|
Hello all,
When I place an enum in the App_Code directory, it breaks intellisense for all other pages in my project. There seems to be no reason for it. I've tried renaming the enum and everything. Still, no intellisense. If I remove the enum, it returns. Has anybody got a workaround?
|
|
|
|
|
Did you try to rebuilt the project. I have noticed that sometimes Visual Studio's intellisense does not work when there are build errors.
|
|
|
|
|
I'm not real sure what's going on. It suddenly started working though... Hope it doesn't die on me later....
|
|
|
|
|
how to traverse in tree
vijaya
|
|
|
|
|
|
kvijayajyothy wrote: how to traverse in tree
By swinging on vines?
Sorry, couldn't resist.
Scott
|
|
|
|