|
Hello Freinds.....
I want to create microsite. just like u can see www.magicbricks.com where we can click on any advierisment then open a new microsite.and chage the Url path also within a second .
So please give me some idea about change url path within a second and about microsite.
Thanks.....
Raushan Raj
|
|
|
|
|
raushan_9 wrote: So please give me some idea about change url path within a second
Response.Redirect
raushan_9 wrote: want to create microsite
Buy a book and work through it, it seems likely to me that you have a fair amount to learn before you can approach a project like this.
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 )
|
|
|
|
|
How to draw a transparent rectangle on an image in asp.net 2.0 using c#???
|
|
|
|
|
Urgent to who ?
ASP.NET has nothing to do with this, you'll need to draw the new bitmap in your C# code, and then pass it out to the webpage.
And, I recommend buying a book on ASP.NET, it seems likely to me that you really don't understand what it is, and what it does.
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 )
|
|
|
|
|
my project consists of several aspx pages where it is navigating to one page to another pages.but wh navigating the address bar is visble to the user and it can be editable .so how to restrict the user not to edit the address bar ..or not to do anything to the address bar content.
|
|
|
|
|
jagadeeshkumar2106 wrote: so how to restrict the user not to edit the address bar
Disabling/Hiding browser address bar is not at all an efficient solution as user can take the URL from page info and give it directly on a fresh window. You need to write code for checking the query string value's and redirect to error pages if values are invalid.
|
|
|
|
|
hi sir is it possible not to edit the address bar by the user ...if possible plz help me with code
|
|
|
|
|
You can hide it in a popup. But as I told earlier, it's not reliable. So always check the values before you process them. Make sure the values passes through query string is valid. If you don't want to check the values passed, encrypt them before passing. So user won't understand the data.
|
|
|
|
|
You can hide it in a popup..means wat sir and how it is done
|
|
|
|
|
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ?
There is literally no way you can do this. And, why would you want to ? I suspect you're trying to solve a different problem entirely, such as users being logged back in when they hit the back button. Fix your program, don't try to make life hard for your users, not least because it's not possible.
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 )
|
|
|
|
|
Christian Graus wrote: Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ?
I am sorry, but I am not getting you.
|
|
|
|
|
Damn - sorry, that doesn't read like I meant it. I meant, poor you because you were saying the same thing over and over and, as often is the case here, getting a 'so how do I do it' response.
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 )
|
|
|
|
|
Ohh, I misunderstood that one. No prob.
|
|
|
|
|
What he meant was that there are so many persons active in asp.net forum who dont know event the basics and you tireslessly trying to teach them the same..
Apurva Kaushal
|
|
|
|
|
Now I understood
|
|
|
|
|
hi jagadeeshkumar2106,
According to me there is no such possibilites of preveting user from editing Address bar. Because if you doesn't allow user to edit Address bar then how can user switch to some another website. I know you preveting user from editing your website's URL but if user wanna swtich to another website then it is not possible.
It's better to use URL Rewriting which simply hide important contents of URL and show different URL to user. So, even User edit URL it doesn't effect your application at all.
Hope this will help you.
Thanks & Regards
Dilipv
|
|
|
|
|
Hi,
i am using C# asp.net2.0
i want to know two things
1. is it possible to change the color of editing row of gridview that is when i click edit button(template) that row's color change
2. Is it possible to have some diffenrnt color of last inserted row as i have interface in above frame and i select the record and add to gridview,
Please help
Thank you
regards
imran khan
|
|
|
|
|
hi mohd imran abdul aziz,
You can directly add Back color to selected row of GridView as follows.
<asp:GridView SelectedRowStyle-BackColor ="Aqua" ID="Grid" runat="server" ></asp:GridView>
For 2nd problem you need to write code in the RowCreated Event of Gridview as follows..
protected void Grid_RowCreated(object sender, GridViewRowEventArgs e)<br />
{<br />
e.Row.BackColor = "Blue";<br />
}
Hope this will help you.
Thanks & Regards
Dilipv
|
|
|
|
|
Hi All,
When I browse my application which is already deplyed
I am getting the fallowing error.
I found this error is comming if a Number is comming in the URL, I mean when the number comes its making % internally and giving error
I am unable to find the reason behind it PLEASE HELP ME TO SOLVE THIS ERROR
Server Error in '/' Application.--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
THANKS, IN ADVANCE
Pashi...
prashanth,
s/w Engineer,
Integra Micro Systems.
|
|
|
|
|
Set error mode to "off " which may show the error. If it's not giving you the exception details, check server event log
|
|
|
|
|
|
i need to send the textbox value from the "second" page to "first" page..... (i.e, TEXTBOX1 of "first" page is to be get filled by TEXTBOX2 of "second" page values, while user click a button in "second" page)
I am using ASP.NET with C# (.net 2003, 1.1 framework)
Thanks in advance - john
|
|
|
|
|
use Session Variable or QueryString
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Yes my friend.
Using querystring or session we can do it.
but what the thing is, when i click the button in "second" page, at once the textbox2 value from "second"
page is to get SET to the textbox1 of "first" page.
does we can achieve it by using query string or session.?
if so, HOW?
|
|
|
|
|
John Sundar wrote: but what the thing is, when i click the button in "second" page, at once the textbox2 value from "second"
page is to get SET to the textbox1 of "first" page.
What does it mean ?
when click on button on second page you want to back on first page ???
or both page will open ????
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|