|
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
|
|
|
|
|
hi
can i use the Java Screen Capture functionaly in mypage.aspx?
can i call the dll or not?
I need to capture the screen in mypage.aspx
will you please help me?
tamil
|
|
|
|
|
Hope the Article by Holzhauer Screen Capture[^] in CP will help you.
Regards,
Satips.
|
|
|
|
|
LOL - how will that help ?
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 )
|
|
|
|
|
Didn't I answer this ? You cannot capture the screen with javascript. If a java applet can capture the screen then you can write one, that would no longer be an ASP.NET question.
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.
I want to show the content of a Datagrid in marquee mode ...
I mean the datagrid's content should cross over and repeats ...
what should I do ?
I tried putting datagrid in <marquee> code but it doesnt work.it just shows the complete datagrid. but not a marquee
for example I have some "News" in my datagrid. I want to show the title of them in a marquee...how can I do it?
the news are in datagrid and its correct but how to show the title of them in marquee??
do u know about it?
please help me
|
|
|
|
|
please help me
|
|
|
|
|
Hi i have two times...,
dim intime as datetime=09:15
dim outtime as datetime =16:00
How to compare the two times???,
The above one outtime is greater than intime...,
how to check that one, outtime is greater than intime like?,
and suppose
dim intime as datetime=20:45
dim outtime as datetime =16:00
This one intime is greater than outtime...,
how to check that intime is greater than outtime like?,
Plz anyone help me....,
Magi
|
|
|
|
|
Suprisingly with the operators '<' or '>'
|
|
|
|
|
Hi in my table i have intime and outtime...,
the format is:
intime will look 09:13 and
outtime will be 20:56 like..,
with the help of string datatype i stored this time in my table...,
now i want to compare the two times...,
which one will be greater than another like...,
means its 24:00 hrs format...,
so in mycase i want to consider 24:00 is the highest time and 00:00 is the lowest time like...,
Plz how to compare the two times...,
hlp me...,
Magi
|
|
|
|
|
if 16 > 9, then it's greater. If they are the same, then if 15 > 0, it's greater.
Or you can create two DateTimes, with the same date and your times, subtract one from the other and see if the DateSpan you get back is positive.
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 )
|
|
|
|
|
ya i assigned the two string values in my datetime method
dim intime as datetime=09:00
dim outtime as datetime=20:00
now how u will check?
Magi
|
|
|
|
|
Not sure if this will work, you've not assigned a date, check in the debugger what happens. But, now you just subtract one from the other.
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 )
|
|
|
|