|
I'd suggest you need to put the sort order on the URL, so when you go back to the URL that has the initial view, the URL gives you the sort order. The other option is to use the session, but there's no need for that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for the reply,
I found the solution.
I was using Gridview inside asp.net update panel. Removing it from asp.net update panel i got what i wanted.
I guess partial page request was an issue.
|
|
|
|
|
I am generating my own sessionids by overriding createsessionid method in sessionidmanager class.
Can anyone please tell me how to find out if the current request is a complete postback request or asynchronous postback ?
|
|
|
|
|
Member 2437558 wrote: I am generating my own sessionids by overriding createsessionid method in sessionidmanager class.
AFAIK , SessionID is unique and 120 bit identifier that track each and every session request. And This number is generated by proprietary algorithm . and its secure enough to reverse engineering it.
Then Why you are trying to do this ? can you please explain . I am realy interested to know .
cheers,
Abhijit
|
|
|
|
|
I have multiple nested update panels and i want to generate seperate sessionids for asynchronous postbacks and complete postbacks.
I will be using the sessionid as a key for my custom caching object and the cached object will be reused in other pages.
Also i want to generate a different sessionid when the application is opened in the second tab in the same browser. Since i have update panels in my pages, if i am able to differentiate asynchronous postbacks and complete postbacks i will be able to generate a different sessionid.
|
|
|
|
|
Hi friends,
Is it possible to find duration of an audio file? if so please guide me with information.
|
|
|
|
|
B87 wrote: Is it possible to find duration of an audio file? if so please guide me with information.
I don't Think so, it is nothing related with ASP.NET
cheers,
Abhijit
|
|
|
|
|
Yes, it is. But, as someone said, not using ASP.NET. you can load the file into a windows media player control and ask it how long it is.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
ROTFL !!! I guess the 2009 MVPs just kicked in. I've noticed you answering a lot, I'm not surprised you got one. Congratulations.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Ohhhhh My God... Thanks a lot Sir..... But How did I Confirm It?
cheers,
Abhijit
|
|
|
|
|
There's a link to the list of MVPs on the main CP page. You got it because you got more 5 votes for more answers than the people who did not get it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: There's a link to the list of MVPs on the main CP page.
But the link showing the 2008 MVP's
cheers,
Abhijit
|
|
|
|
|
OK, then I guess they haven't done the page yet. I don't know, but I know they were going to do the 2009 MVPs imminently.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I created a DLL (class library) on C#.NET (2005) and want
to use it as an ActiveX control on a web page (html).
I have checked the box for Make "assembly COM visible" in the
project properties before I build the DLL. Code does do much,
here is my C# code for ctrl
namespace MyActiveXctrlLib
{
public partial class MyUserCtrl : UserControl
{
public string setName
{
set
{
txtName.Text = value;
}
}
public MyUserCtrl()
{
InitializeComponent();
}
}
}
here is my HTML
<title>Untitled Page
<object id="myControl1" name="myControl1" classid="MyActiveXctrlLib.dll#MyActiveXctrlLib.MyUserCtrl" width="288" height="50">
function doScript()
{
myControl1.setName = frm.txt.value;
}
on button click doScript(); is executed .
it sets the setName property of myControl1 i.e. WinForm control.
this code working successfully on IE 7.0 machine having .NET installed on them
but is not working on Machine those dnt have .NET installed on them.
not checked on IE 6.0.
Thanks in advance .
DaTtA
way2datta@gmail.com
|
|
|
|
|
Dattatraya Kale wrote: but is not working on Machine those dnt have .NET installed on them
Well, duh.
You need to write your control in C++ if you don't want your users to have to have .NET installed.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have a web site project (Yes, I know, let's not go in to that. What's done is done and I wasn't here at the time) in a Visual Studio 2005 solution that I am migrating from Visual Source Safe to Subversion.
So far, I've managed to migrate all the projects and remove the bindings to VSS except one. The Web Site project stubbornly refuses to let go of the bindings. If I manually remove them from the solution file using notepad they reappear some time later. Since a web site project has no project file of its own I'm at a bit of a loss as to where else to look.
Can anyone help?
|
|
|
|
|
hi Colin
Check mybe it will help
http://alinconstantin.members.winisp.net/webdocs/scc/DeleteAndRename.htm[^]
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Sorry,
That does not appear to be what I'm looking for.
I don't want to delete or rename things. I want to keep the files with the same names, but I don't want the existing source control bindings to remain as I'm moving to subversion.
|
|
|
|
|
Not sure whether this will help you.
You can unbind the source control information in VS2005 by going to "Tools --> Options --> Source Control" and change the current source control plug-in to "none".
This will remove the source control binding.
|
|
|
|
|
Sir
Can you try the following steps:
1. Select All the files of project. Check the Properties, remove the read only.
2. Search for vssver2.scc, hidden system file. Delete this file.
It should remove the source from VSS, as it works for me.
|
|
|
|
|
Amandeep Singh Bhullar wrote: 2. Search for vssver2.scc
You need to delete 3 files
1.vssver.scc
2.mssccprj.scc
3.YourProject.vssscc
and Please Check This, It will Resolve Your Problem[^]
cheers,
Abhijit
|
|
|
|
|
Abhijit Jana wrote: YourProject.vssscc
As it is a web site project there is no project file. But they are gone for the other real projects.
Abhijit Jana wrote: It will Resolve Your Problem[^]
I've also done what's in there too. So, here's hoping it all works.
I've tried opening and closing the solution a couple of times now and the bindings are gone still.
|
|
|
|
|
Amandeep Singh Bhullar wrote: Select All the files of project. Check the Properties, remove the read only.
Okay - Done that.
Amandeep Singh Bhullar wrote: Search for vssver2.scc, hidden system file. Delete this file.
Okay - Done that too.
I've also removed the reference to SCC in the solution folder. And removed the SUO file. Visual Studio picked up the changes and... I still see the bindings.
I closed VS2005 and I notice that its updated the solution file and added the bindings back. (The vssver2.scc file is still gone though.) I presume VS must have had the bindings in memory. So, I remove them again. And open the project by double clicking the solution in Explorer. The bindings are back again.
If I go to File->Source Control->Change Source Control... I see that the Website project has bindings and the others don't. I press the the project and press the "Unbind" button and Okay the dialog. After a few moments the bindings disappear.
I close VS and then open the solution again by double clicking the solution file in Explorer. The bindings are still gone.
I've been to this point before, but after a reboot the bindings came back.
Do you see anything that I'm missing?
|
|
|
|
|
Everything seems to be working now. I've opened and closed the solution a few times, rebooted, and so on. The bindings seem to have gone for good (I hope).
|
|
|
|