|
|
Hi,
I've asp.net 2.0 ajax enabled web site in which I used Ajax update panels in pages. Now I want to convert it into asp.net 3.5 but it gives errors for Ajax tool kit and script manager and update panel used in pages.
I don't want to remove ajax functionality from my site, so is there a way to convert them without removing ajax update panels from pages.
On my PC I've installed both VS2005 and VS2008.
Any suggestions is appreciated.
Thank
Bajrang Singh
Using .net 2.0 (VS2005)
|
|
|
|
|
The Version of Ajax used in 2.0 and 3.5 is different. Your web config is still linked to the 2.0, so what you can do is remove remove the dll(ajaxtoolkit) in the bin and drag and drop any control in your page and it will create the dll in the bin directory and register it in the web config and start removing the 2.0 entries in the web config and you will see at the top of your page the 2.0 and 3.5 registration is not the same, try to change.
Hope this helps
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi All,
Is there a way to do this: if a request is from a manual item, then re-fetch the data from database, and if a request is from the other web controls, say link button, then do not re-fetch data from database.
Thanks very much.
|
|
|
|
|
I guess you could use __EVENTTARGET to identify the control that caused the post-back. i.e. the control that sent the current request.
http://forums.asp.net/t/1352215.aspx[^]
Cheers,
Karthik
|
|
|
|
|
Thanks very much for your reply, and you did point me in the right direction
Here is the trick:
Request.Params["__EVENTTARGET"].contains("xx");
xx is the control name (it's obficates, but still humna readable, such as: ctl00$AccordionMenu1$ctl15$clb0). the "AccordionMenu1" is the name of a user control, but u can but the other controls too, e.g. link button etc.
|
|
|
|
|
Great, you are welcome!
And, hopefully you might know this, just in case, you could get this value "ctl00$AccordionMenu1$ctl15$clb0" using <accordion_id>.ClientID (AccordionMenu1.ClientID in code-behind) in the server side or using '<%= AccordionMenu1.ClientID %>' (for use in javascript)
Cheers,
Karthik
|
|
|
|
|
If you are using postbacks, the simple way is to inspect the sender variable in your event handler. This identifies the control that actually triggered the postback. It really is that simple.
|
|
|
|
|
Hi,
i have a question regarding saving the page. Lets suppose i have one page whose contents change each time i refresh or open. Now lets say at one page, i want to save that page or I want to put that page in my favorites so that when i click that favorites link next time, it should show that saved content not the different one. Is it possible ? If yes, any idea how to make that happen ?
suchita
|
|
|
|
|
Usinng Browser's save and saving the webpage on your system hard disk is the only way to have same content again at later stage. Since the page changes everytime, you cannot persists to it's old state without saving it. You dont have control over it.
|
|
|
|
|
You are probably correct, but not necessarily so. Depending on how the page is created, it may be possible to construct a "Permalink" button which will re-load it with an amended URL (probably including some paramters) which allow the same page to be re-created again from that (bookmarkable) URL.
|
|
|
|
|
Thanks all. Just curious about that.
suchita
|
|
|
|
|
Hi All,
I am using VS.Net 2008 with TFS on Windows 7 environment. I would like to run wsdl.exe utility tool to generate proxy for a wsdl file. I am unable to find the wsdl.exe utility at all. I searched whole computer by putting wsdl.exe or wsdl*.exe and wsdl*.*. It is showing 0 files. Am I missing something. Earlier I was using Win XP and VSS or SVN, I was able to search the wsdl.exe or I was able to go to the VS command prompt.
But in this Win 7 or TFS may be I am unable to locate it. Can anybody help me in this regard any links or any advice is helpfull.
Thanks in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Go to start programs and look for Command Prompt under installed Visual Studio.
The place where this command prompt is opened as default, wsdl.exe exists there. I have same win7 & VS2008 environment and I use it quite frequently.
|
|
|
|
|
WSDL.EXE will be present as soon as you install a Visual Studio (not Express Edition) or a Windows SDK.
Mine is at C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\wsdl.exe
There also is an svcutil.exe, which is doing very similar things (and gets installed together with it AFAICT).
|
|
|
|
|
Hi,
I have developped a .Net Web Service. I have run it its working fine. Now I want to get the WSDL file for the Web service, how can I get the WSDL file for the Web service.
Can anybody help me in that, any link or any advice is helpfull.
Thanks in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
|
Hi,
I have data in html format in my database. When i pulling those data from the database and showing them to the datagrid, it is showing correctly. For example, if there is an image src in that html format data, then it shows the image in the datagrid. But when i use gridview instead of datagrid, the image doesn't show up. Instead html format doesn't show effect in gridview. the data just a text including html tags too. How to put html tags effects in gridview ?
suchita
|
|
|
|
|
You don't give enough detail to answer.
We need to see a sample of the HTML produced and we need to know if you are using any events to alter the data during binding.
|
|
|
|
|
Thanks Gray.
I tried
htmlEncode = "false" and it worked.
suchita
|
|
|
|
|
Ok I'll try to keep this short as I know a lot of you are busy like myself. The compnay I work for is going to implement a intranet site, of which I'll be solely working on it (lucky me). So it's going to be up to me to get everything working and looking good. The problem I have is I haven't done web programming in about 8+ years. I'm thinking going the ASP route will be easiest as I've been doing a lot of VB and C# in the past 2 years. However I'm not really sure what it is I'm going to need to get this site up and going. Do I just need to get my boss to get IIS up and running or is there more? This is the first time I'm going to be on this side of the site as well so it's going to be a learning exp. Any help or tips is greatly appreciated.
|
|
|
|
|
Many of your questions can't really be answered since we have no background on what your requirements are. Is the site data-driven? Do you require a high degree of user interaction? Are their memberships involved, i.e. login and registration?
By ASP I'm hoping you really mean ASP.NET. These are two completely different technologies that require different tools and knowledge. I would advocate ASP.NET with C#. Some will argue that the language doesn't matter, however, there are more samples of higher quality in C# than in VB.NET, something you will need if you are learning/re-learning web development.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
See I told you it's been a while. Yes it will be ASP.Net and more than likely using C# as I've been using that more lately. Well as of right now the plan is to make the site mostly informational. Will need to have it connect to a database for some info, not sure if it will be SQL or Access as of now. There will be no log in or registration involved as of this point in time. As I get more proficient in the web realm again I'll be adding some training modules to the site (probably a good 1 - 2 years away as this is more of a side project). Again it's been a long time for me so I don't know if these modules are something I'll be able to do easy enough in ASP (once I learn more obviously) or use something like Director (Am I dating myself or what )
I think I mentioned, but it will be a intranet site so I won't have to worry about outside people looking at it.
Biggest road block is my boss thinks Windows Server 2000 is the greatest thing and everything else doesn't work. We just got 2 2008 servers (for development as we upgrade) and he's convinced that nothing works and that it's just plain junk. I'm just so lucky, what can I say.
|
|
|
|
|
Since it seems that at first you want to make it informational, then later maybe add some custom programming I would seriously consider DotNetNuke.
There is a good learning curve, but it gives you a BIG head start in delivering a functional Intranet.
http://www.dotnetnuke.com/[^]
I've used it in the past and found it to be really great.
Good luck.
|
|
|
|
|
I wouldn't recommend DotNetNuke to anyone. One, it's VB.NET where he is more familiar with C#. Two, its an overblown bloated framework for people who don't understand how to do web development. The OP wants to learn, not just follow a template
I know the language. I've read a book. - _Madmatt
|
|
|
|