Hello good people,

Can you please help me with one issue that I'm facing. Is it possible in ASP .NET to get a webpage contents (let's say for example the google homepage) that has some special tags (instead the search buttons you'll have tags like %%SEARCH%% and %%FEEL_LUCKY%%) then, right before the output, you can replace all the special tags with my own controls?
I can make this without any problem in PHP, but not quite sure how to make this in ASP .NET (C#)

Cheers

You can use the WebRequest class. Replacing tags can be done with string.Replace().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.