|
Hi,
I done with static.But my need is different.now i am briefly explain the details...
I have different products.all the products have differenet videos.(all the product details are entering in admin side including the movie tag which are stored in a table SQLSERVER2000 DB)
I shown the products in different images.while clicking the products details are displayed in another page.There is a button to watch the movie.while clicking the button the corresponing movie want to stream.while the user select the products,it shows all the details with a button to watch movie(all are comes under user side),only the corresponding movie want to run..videos are uploaded in youtube...all the products movie want to stream in the same page..My problem arises here..i can now stream only one movie,if i give the corresponding object tag.How dynamically stream the videos based on the choice without multiple buttons???Please help to solve...
i cant know how to embed object tags(movie tags )dynamically....If knows Please share me...
Thanks & Regards
Bijesh
|
|
|
|
|
Hi folks,
How to update newly cached object to the client with out any request from client.
friendly,
ranandbe
|
|
|
|
|
ranandbe wrote: How to update newly cached object to the client with out any request from client.
I'm not quiet sure about what you are asking. As far as I know a cached object will either have a dependency or time-duration, when there is a request from the client then it checks whether dependency or the duration is expired. If yes then the Cached object will get updated. You are asking How to update without any request from the client. If there's no request from the client why do you need to update the Cached object?
Regards - J O H N -
|
|
|
|
|
Hi friends
I have one button called Preview which is placed in upadate panel.
Now I want to open popup window on click of that button.
I can call javascript onclientclick event but before open popup window i want to get some values from current window.I dont want to pass that value in query string.
Here is my code
ClientScript.RegisterStartupScript(this.GetType(), "JS", "javascript:window.open('PreviewPop.aspx?DesignID=" + txtImageHide.Value + "','MyTitle','height=250,width=505, top=100, left=100, scrollbars=yes, resizable=yes, status=no')", true);
but popup window is not open.If I remove update panle then it works fine.
can anybody give me solution for this.
thanks in advance
bEst Regard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Imran Khan Pathan wrote: but popup window is not open.If I remove update panle then it works fine.
I guess registering client script blocks inside an update panel is not allowed. Create a dummy project with update panel, and try registering a client side script which alerts some thing ?
|
|
|
|
|
hi
I have2 question
1:I have a setup file of my website and I want to test it in localhost befor loading it,how can I do it?
2:I have a QueryString in web.config.when I want to load thesite on internet how shoud I change yhe address?
what should I write instead the name of computer?
|
|
|
|
|
M.V wrote: 1:I have a setup file of my website and I want to test it in localhost befor loading it,how can I do it?
If you have the setup file then it's very straightforward just double click on the .msi file and the wizard will take you through the Installation process.
M.V wrote: QueryString in web.config
What do you mean by this?
Query String is something related to URL, Not web.config file.
Regards - J O H N -
|
|
|
|
|
ohh sorry I mistyped.I meaned connectionstring
it works true when I test it in my local.I want to khnow
<connectionstrings>
<add name="connectionstring" connectionstring="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|projDb.mdf;Integrated Security=True;User Instance=True"
="" providername="System.Data.SqlClient">
for loading it on internet what change should I do?
thanks alot
-- modified at 12:55 Tuesday 6th November, 2007
|
|
|
|
|
Hello every body,
I am using sessions in my web-based application. After completion of all transactions i want to sign out. When i click sign out and copy the URL and paste it in browser. It is showing the contents of signed-in page.
Even I have used "Session.RemoveAll();" in global.asax file when the session ends
But If i click refresh and paste the URL it will not allow to show the contents of signed-in page.
How to refresh page only one time when i click sign-out.
Kindly send me the code...
Can any body plz..help me...
|
|
|
|
|
Use
Session.Abandon();
Response.Redirect("LoginPage.aspx?action=SessionExpired", true);
And on LoginPage.aspx check whether action=SessionExpired if so then redirect to the page which u want or just say window.close();
Hope it helps u??
|
|
|
|
|
Your problem has got nothing to do with the page refresh. Once after signing out if you are still able to access the secured pages then this is due to the Client-side caching enabled. you are viewing the cached page. If you want to disable it then you can write this on the code-behind. so that after the sign-out if you happen to click refresh button or back button, it should probably take you to the login page.
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Regards - J O H N -
|
|
|
|
|
Thank you JoHn... Its Working...
|
|
|
|
|
srajasekhar wrote: Thank you JoHn... Its Working...
You are most Welcome.
Regards - J O H N -
|
|
|
|
|
Try ajax in ur project it may rectify that problem.
|
|
|
|
|
I read somewhere that I can use the footer to add a new record to the data table.
Can You plz give me some code to do just that.
BiG RaLpH
|
|
|
|
|
|
Big Ralph wrote: Can You plz give me some code to do just that.
As of now there are total 100 articles related to Gridview at the below given link.
Do you know?[^]
Regards - J O H N -
|
|
|
|
|
I want to ask regading regular expression.
I want to use such regular expression which only allow integers and
float value.
for example :--
12
12.34
23.456
0.5
0.0
0
I found but not able to find. Please Help me . Suggest me the regular
expression for that
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
What is wrong with you ?
1 - the easiest way to do what you want is to parse the values on the keypress event
2 - failing that, I have given you a regex that iwll work in all these cases. I've explained what you need to to to impliment it. Why would anyone bother, after the lengthy thread that exists below to try to explain a simple regex to you, get back on the treadmill and go through it all with you again ? May as well just bang our head against a well as try that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Don't know why you marked your reply with the joke icon. It's all for real. Even the banging part.
Cheers,
Mircea
"Pay people peanuts and you get monkeys" - David Ogilvy
|
|
|
|
|
Instead of having regular expression I did something like this:
I wrote a javascript function:
function onlyDigits(e)
{
var retKey = true;
var IsTwoDecimal = e.value.indexOf(".");
if (window.event.keyCode < 46 || window.event.keyCode > 57 || window.event.keyCode == 47)
{
window.event.keyCode = 0;
retKey = false;
}
else
{
//This code is used to restrict two decimal cost e.g.= 23.55 is valid
//but cost=45.55.66. is not valid.
if (IsTwoDecimal !=-1)
{
var s=e.value.split(".");
if (window.event.keyCode==46 || s[1].length>=2)
{
window.event.keyCode = 0;
retKey = false;
}
}
}
return (retKey);
}
<input id="txtCost" runat="server" type="text" onkeypress="return onlyDigits(this);" />
Hope this helps u???
|
|
|
|
|
I told her from the start this was a better way to do it, but she would not listen.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Try this
it is solve your question
[-+]?[0-9]*\.?[0-9]*
|
|
|
|
|
why it is validating 8u also.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Can't understand what u mean??
This Expression is well working for only integer and Float also.
|
|
|
|