|
hlnkPhoto.Attributes.Add("onclick", "openwin('ZoomTemplates.aspx?TemplateId=" + dtTemplate.Rows[TblRowCnt]["StandardTemplateId"].ToString() + "&Type=Standard');");
hlnkPhoto.NavigateUrl = "#";
It is working fine means opening popup window but when I use above code in popup page then it is not opening popup page again.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Do you just want to refresh the same page again?
What are you trying to achieve?
We are not a Code Charity
|
|
|
|
|
again different page as popup window
You get the best out of others when you give the best of yourself.
|
|
|
|
|
you're probably bieng blocked by a popup blocker, IE has one built in and i've noticed that you can usually only open one popup, mabye 2 from a certain page. We have popup Help, and examples on our site and if you open help then try to view the examples, the code should open another window, but the examples page renders in the tab previously occupied by the Help. You could try disabling your popup blocker and see what happens, but i doubt you'd be able to get your users to do that for very long.
Alcohol the cause of and solution to all of life's problems.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
popup is allowed in my browser.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
In that case i'm nto sure, i havnt been able to get our site to show more than one popup window/tab(IE 7) per page. are you trying to automatically popup the new window, or is it a link...ctrl+clicking the link may work(sometimes IE and MS products ignore user settings and do what they please anyway) My only other idea is to make sure the javascript is bieng called correctly, i've had functions not be called because i forgot a capital C in the event name, but all other functions worked and were set up the same way on different controls. Sorry i couldnt be more help.
Alcohol the cause of and solution to all of life's problems.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hmm I might be wrong, but I have a feeling you cant open a pop-up from a pop-up, what do other people recokn?
We are not a Code Charity
|
|
|
|
|
hai friends
i added a rtf file(text file with extension rtf) to my website
i performed two tasks on it 1)read 2)write to the same
for first time it is working
but for writing it is giving error like this
The process cannot access the file 'D:\PrintPage\temp2.rtf' because it is being used by another process.
my code is....
to read file ..
Dim fs2 As New FileStream(strFilePath, FileMode.Open, FileAccess.Read)
Dim d As New StreamReader(fs2)
Dim swrtarget As String
d.BaseStream.Seek(0, SeekOrigin.Begin)
swrtarget = d.ReadToEnd
d.Close()
fs2.Close()
to write ..
Dim fs1 As New FileStream(strFilePath, FileMode.Open, FileAccess.ReadWrite)
Dim s As New StreamWriter(fs1)
here i m getting error...
the process cannot access the file 'D:\PrintPage\temp2.rtf' because it is being used by another process.
plz help me....
note : file is only one.
thanks in advance
vijay
|
|
|
|
|
Has someone got the file open?
We are not a Code Charity
|
|
|
|
|
It looks as though it should work, but i dont use vb at all, If you are reading and writing to the file in the same method you could open the FileStream as Read/Write and just share the FileStream between the Reader and Writer. I've gotten this error when i've had a file open in notepad and didnt realize it(simple things are hardest to find) and when i didnt have write permissions to the directory for the IIS user. It could also be possible that the IIS worker process has the file for some reason and has not released it, it happens with some .NET files if you stop and start debuging sessions too fast in Visual Studio.
Alcohol the cause of and solution to all of life's problems.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi all,
I have a custom composite (address) control that I have created.
I want to dynamically add it to a place holder on my page (append it to the end of the placeholder and keep the controls already in it). For this I am using a custom placeholder that persists the viewstate etc so that my control can be added repeatedly.
The problem is... My child controls in the custom address control are trying to re-use Id's that already exist? I am Creating the address control with a generic ID and adding the control number to it. The Child address controls 'should' be appending a substring to the end of the parent address control so that they are unique per address control.
What could be the problem? Does the order in which I add ID's both to the parent and child controls have a bearing on this?
I thought it would be nice and easy, but apparetly not...
Thanks in advance
mark
|
|
|
|
|
Hi all,
Any one help me to create a dynamic Repeater in code behind. I seen most of the coder gives their code of databinding only. Any one can give the idea or code of how to create a dynamic repeater in code behind.
Thanks in advance
Regards
Senthil.S
Software Engineer
|
|
|
|
|
Do you want to generate the actual control itself in code beind or just the function of it?
We are not a Code Charity
|
|
|
|
|
Yes full control creation
Senthil.S
Software Engineer
|
|
|
|
|
This shows you how to create .net controls from code behind, you can just apply this to the repeater.
http://support.microsoft.com/kb/317794
We are not a Code Charity
|
|
|
|
|
Repeater r=new Repeater();
r.DataSource=tb;
r.DataBind();
|
|
|
|
|
Hi my webservice in another file, through App_webrefernce i called that webservice in my solution(project)...,
Now i am using cascading dropdown extender(Ajax Control)...,
In that i want to give service path of my webservice file...,
if i give servicepath="http://localhost/MagWebService/MyService1.asmx" like this its working cool...,
But i cant give my service path like that...,
So i have to give servicepath = "~/MagWebService/MyService1.asmx" like this format...,
But if i give like that its binding in my dropdownlist as Method Error 500
Plz any one help me to solve this probs...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
|
There is a regional saying in India that when a rare thing happens, there would be heavy downpour. We have been advising you time and again to learn having a proper subject to your messages. But all the suggestions/advises seems to be running down the drain.
Just thought if I can make use of your habit for the welfare of the society at least. If you can make a good correct subject for your message, it would be a rare event. Then there would be good rain in India, which would mean a blessing for a lot of people saving them from hot weather and acute famines. Isn't this a good deal?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Mazeltov, you managed a new subject. Its just a shame its even less descriptive!
|
|
|
|
|
She made it still brief perhaps she had read about the saying "Brevity is the soul of wit"
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Cant she just be banned for a period of time from the forum
We are not a Code Charity
|
|
|
|
|
The forum would miss some true fun.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Hi,
I want to getElementById of a control which is inside a Wizard control in ASP.NET 2.0.
My code is like :
var ddl=document.getElementById("ddlCountry");
if my ddlCountry is inside a Wizard control then how I will get the control by getElementById("").The above code works fine if ddlCountry is not inside wizard control.If it is inside wizard control then the above code does not work.
|
|
|
|
|
Check out this discussion http://forums.asp.net/t/1253179.aspx[^], which does disabling of Next Button in the Wizard Control.
You can try using a similar trick.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|