|
Is there any possibility to show the Live Video[ Live of any Programm] in the Website, if it is then how we can show it? Can i get the full details about this?
|
|
|
|
|
|
Multiple instances of the browser is sharing the same session state. how to make use of different session for different instance of browser?
we are storing the session in DataBase.
Thanks in advance for your suggestion.
Satish
modified on Monday, September 14, 2009 3:13 AM
|
|
|
|
|
Well... what you can do is create a session yourself in the database based on the IP of the machine and assign each session state to the same IP.
If you map using IP, it will be easier to handle this.
|
|
|
|
|
Hi all,
In a registration page there is a dropdown list in which city name is comming form table if a paritcular city is not show in the dropdown then user select other option and when user select other then I want open a citymaster page in which option to add new city.
I have written a javescript fuction and calling it but it is open in new window
<script>
function showAddCityForm()
{
window.open("Citymaster.aspx")
}
</script>
tell me or hint me how to open page in the same window
Thanks in advance.......
|
|
|
|
|
The function is CALLED window.open, what did you expect ? Why do you need a method instead of just using a link ? Oh, because it's in response to a dropdown. Use window.location.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Samarjeet Singh@india wrote: how to open page in the same window
Try using
<script type="text/javascript">
function openpopup()
{
window.open("b.html",'_self');
}
</script>
|
|
|
|
|
Dear,
it is open in same window .
but i want to open as child page in the same window.
if know then suggest me...thnks
|
|
|
|
|
Samarjeet Singh@india wrote: but i want to open as child page in the same window.
window.showModalDialog("b.html",'','dialogHeight:140px; dialogWidth:400px ; resizable:no');
|
|
|
|
|
I think it is not available in most of the browsers ... It is IE specific. Not in w3 standard function list.
|
|
|
|
|
I have used this in our project and it works fine in
1. IE(6,7)
2. Firefox(3.5)
3. Opera(9)
4. Google Chrome
|
|
|
|
|
Hi,
if u want through the code.
ClientScript.RegisterStartupScript(Me.GetType(), "ReportWindow", String.Format("<script>window.open('UserSetting.aspx','ReportWindow', 'width=400,height=200,status=no,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes');</script>"))
Thanks,
Amit Patel
|
|
|
|
|
Thnks Dear,
It is working Fine.
is it is possable to remove child window border ?
if yes then tell me
|
|
|
|
|
Rather than using Window.open navigate to the page. Use
function showAddCityForm()
{
window.location.href = "Citymaster.aspx";
}
|
|
|
|
|
Dear all,
I want to access user name from the url written like this format
http://www.codeproject.com/username1
user will enter his user name after website name. Remember that user will not enter user name as a query string like
http://www.codeproject.com/username?username1 (I don't want this type of entry with url by user)
when i am using this (http://www.codeproject.com/username1) type of url I have tryed to access user name from global.aspx -Application_BeginRequest event. i have searched that after the website name if the string (here username1) is not with . (i am not permitting to use . while user name created) it will redirect to download page with query string.
like this:
string TheRequestUrl = "";
string theurl = HttpContext.Current.Request.Path;
string theFileName = theurl.Substring(theurl.LastIndexOf("/") + 1);
if (!theFileName.Contains("."))
{
TheRequestUrl += "Download.aspx?requestUser=" + theFileName;
Response.Redirect(TheRequestUrl);
}
It is working properly on the local server. but on the server it redirect to 404 (page not found) page. not running the Application_BeginRequest event.
Than what is the best way to achive this.
Please help me
Dipak
|
|
|
|
|
Sounds like your server is not configured properly or doesn't have all your code uploaded to it. Are you sure download.aspx is present ? What if you type in the new URL directly ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello Sir,
Thank you for reply.
download.aspx is present on the server. and it is opening properly when typeing the url manually on ther browser.
But it may be server is not configured properly. On the control panel of this website a error 404 (page not found) is set to a html page by the hosting provider (godaddy.com). And that page is showing while i am trying that code.
There are other options of 404 Error Behavior are:
Use home page:
Use custom page:
If i set a custome page to a aspx page. I think it will open but where i wil loose the username (here username1).
so how to solve this?
Dipak
|
|
|
|
|
Hi All,
I have one grid view
in template field(header field) i m using one check box which is used to select and deselect all check box this is working fine but once i clicked
item template check box header check box shuld get uncheckd for this i m calling javascript on onclick event of check box but id of header check box is coming null. for this i m using
|
|
|
|
|
Fix your post so we can see the script. Use the 'do not interpret HTML tags' checkbox.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
var oItem = spanChk.children;
var theBox= (spanChk.type=="checkbox") ?
spanChk : spanChk.children.item[0];
xState=theBox.checked;
elm=theBox.form.elements;
for(i=0;i<elm.length;i++)
if(elm[i].type=="checkbox" &&
elm[i].id!=theBox.id)
{
//elm[i].click();
if(elm[i].checked!=xState)
elm[i].click();
//elm[i].checked=xState;
}
I am using above code for checking and unchecking all check box of grid if i checked all check box and then uncheck child check box then parent also should get unchecked
|
|
|
|
|
Hi All,
I find out the solution
Regards,
Amit Patel
|
|
|
|
|
Hi,
How to add a Scroll Bar in CheckBoxList control in ASP.NET?
|
|
|
|
|
just Write div Tag
CheklitBox
You can adjust size by hight and width property according ur chekboxlist..
Happy Programmin......
|
|
|
|
|
Put your CheckBoxList inside a Panel control and set the Panel's ScrollBars property. Also fix the Height and Width of the CheckBoxList.
|
|
|
|
|
your List checkbox inside Panel and Give fix height and width of panel
that will work like windows checkbox list
|
|
|
|