|
Hello all,
I am wondering if it is possible to have a flash player play .asx files (XML files that point to a URL for video streaming) and have the following characteristic... The file which is played needs to be able to be dynamically specified. (depending on user action)... Any help would be awesome...
I am using ASP.NET 2.0 C#, Flash MX 2004 Pro
Thanks in advance...
Brandon
|
|
|
|
|
Hi All,
Can i hide the full address from the address bar?.
I mean that when i select www.mysite.com/page1.aspx or www.mysite.com/page2.aspx
i want to show in address bar only 'www.mysite.com'
Thanks
Thomas
|
|
|
|
|
Then you make a frameset as the default page of the site, and open the pages in a frame. The address bar will show the address of the frameset, not the page in the frame.
To be correct html, a frameset needs to contains at least two frames. Make one of them invisible by using rows="*,0".
---
b { font-weight: normal; }
|
|
|
|
|
Hello alll
I need to find 24 Hrs back time using C#. How to do this.
How to do this?
regards
GV Ramana
|
|
|
|
|
Ramana. G.V wrote: need to find 24 Hrs back time using C#.
DateTime.Now.AddDays(-1)
Tarakeshwar
MCP, CCIE Q(R&S)
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
!sgub evah t'nseod margorP sihT ?sgub naem ayaddahW
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
using System.Web.UI.Design;
public sealed class DataGridNavigationBarDesigner : ControlDesigner
{
public override string GetDesignTimeHtml()
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append("");
sb.Append(" Number of rows | Page size ");
sb.Append(" | Current page | ");
sb.Append(" ");
sb.Append(" ");
sb.Append(" ");
sb.Append("");
sb.Append(" |
");
sb.Append(" ");
return sb.ToString();
}
}
The error is during compilation it says cannot find System.ComponentModel.Design;
and
using System.Web.UI.Design;
but since i have the dll it works fine .But i have to do changes to it.
Pls suggest solution(alternatives for the same)
thnks in advance.
|
|
|
|
|
Are you sure that the project has reference to the System.Design.dll ?
|
|
|
|
|
i have a treeview web control on a user control.
now on page load , i want to set the focus on the treeview.
how can i do that?
thanks
kapil
|
|
|
|
|
Try to add to element attribute OnLoad...
-- modified at 12:04 Wednesday 5th July, 2006
|
|
|
|
|
Sir,
I want to create the user control for the tree view .Can i get ur code.I tried very much to create the tree view .But in vain.
Thank You
|
|
|
|
|
ur email id is not confirmed on the site.....so the mail is not going to you through code-project.
yaar give me ur personal email id so i can send it u.
i would be able to explain it better through a mail and also there's a lot of data to be sent
bye
take care
|
|
|
|
|
Hello,
I want to disable an asp:button control or set Enabled property to false on the click event of a Html checkbox by using javascript. how is it possible?
Regards.
AbuaBakar
|
|
|
|
|
simply call a javascript function on checkbox click event and enable or disable your button in that function.like
code for page load
checkBox.Attributes.Add("onclick", "enablebutton();");
here is script for aspx page
function enablebutton()<br />
{<br />
var btn = document.getElementById("Button1");<br />
btn.disabled = true;<br />
}
Nav.
|
|
|
|
|
To answer your question:
It's not possible. You can't access a server control from Javascript. They only exist on the server, and are used to create the html code for the page. Consequently you can't access the Enabled property either.
You can however access the html element that is created from the html code that the server control created. You can use the disabled property of the element to achieve the same thing that changing the Enabled property of the server control would.
That is done the way mnaveed showed.
---
b { font-weight: normal; }
|
|
|
|
|
I m generating htmltable on serveride and then placing it on webform with placeholder.Now i can show all htmltable on webform and user can see results coming from database.But now i want user to edit that information he wants so how can i do this?
Plz help
|
|
|
|
|
i think its better to use Grid control with Edit functionality
Nav.
|
|
|
|
|
Word Doc in asp.net
How can i generate a word document in asp.net project?
also, its content would be from my database depending on the user id... so, any idea how to do it?
Regards,
Nina
|
|
|
|
|
|
|
Hi All,
I have some problem with imagebutton.
When I click on imagebutton code written inside imagebutton_click() event get fired two times.
When I keep beakpoint in dubug mode I just shocked when I saw this code executing twice.
I set
causevalidation to false
EnableViewState to false
but nothing is affecting this.
Please can anyone say why this is so?
regards,
Nagraj
|
|
|
|
|
There can be many reasons, if you want to have a chance for an appropriate reply, try to paste your code for imagebutton_click() and for Page_Load() methods.
|
|
|
|
|
I m using Dot.NET 2.0 and want to connect to sql server 2000. But it gives the following error when it opens a connection.
"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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
Any solution............
Do good and have good.
|
|
|
|
|
hi,
can you send your code snap.
|
|
|
|
|
Check your authentication mode - I usually set mine to Mixed unless there's a reason not to
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|