|
|
Try this in RowDataBound method ,
|
|
|
|
|
Hi,
There is one coordinate as for example 19.447754, 72.75541 now I want list or coordinates that covers circular area and it has center coordinate as I have given above. I will pass the !
Means it should give me circumference or diameter and I will pass miles/kilometers.
Is there any api/web services or any method/function/formula to achieve this?
Help me out !
Thanks,
Divyesh Chapaneri
|
|
|
|
|
Hi all,
Am beginner to ASP.net
I have created web page and trying to run it on different browsers(ie,mozilla). but it shows different text formats(bold,Size) in different browser.can u pls tell me what to do to display same page format in all browsers.
with regards,
Shivakumar Kore
|
|
|
|
|
|
Use W3C standard CSS to control the look and feel of the page.
Make everything fluid where possible. Use percentages for font sizes and widths/heights of elements. 'Fixing' to many elements with fixed values can cause a lot of problems.
Remember NOT all browsers will behave the same for everything - I'm afraid SOME elements won't. For the ones that don't you'll have to do a little research.
For example to change the colour of a horizontal rule correctly you would have <hr style="color:#ff0000"/> - works fine in IE browsers but not in FF - the fix is <hr style="color:#ff0000;border:0px;height:2px;background-color:#ff0000"/> - note we have to add the border, height and background-color attributes - still correct and works in all browsers.
All this comes with a little a research and experience. I would just start off by researching each problem element as it comes along specifically and as you need. Not the whole lot.
|
|
|
|
|
hi,
i need to transfer a key value from a page to a popup page "on selected index change" of a gridview.
i have used a asp:HyperLinkField, to navigate the url.
i got the page to pop up. I need to pass the key value.
plz help me out......
|
|
|
|
|
if u use linkbutton you can send the value by using its property commantargument.
|
|
|
|
|
Call a javascript function on change of DropDown and use window.open in that , and pass whatever value you need to as querystring
Regards
Nishant
|
|
|
|
|
as i told u guys, i am using asp:HyperLinkField.
now can u tell me how to transfer the value on slected index change of the gridview.
kindly help me out...........its urgent.
thanks
|
|
|
|
|
if u r using anchor tag then during binding inside gridview .
u can send by using query string..
in anchor tag
href='<%# "PageName.aspx?Aid="+Eval("ID") %>'
|
|
|
|
|
<asp:Image ID="Image1" runat="server" Height="416px"
ImageUrl="E:/College Photos/Farewell Party/DSC08182.JPG" Width="846px" />
When iam loading image from other than current directory the image is not loading ... / If i copy the same photos into current directory it is loading ...
What is going beyond it , why the problem exists.....
|
|
|
|
|
Pardhu2 wrote: ImageUrl="E:/College Photos/Farewell Party/DSC08182.JPG"
What are you doing....
Always use relative path to the server.
Means if the pictures is in folder a under your root directory xx then you should write :
<br />
ImageUrl = "~xx/a/DSC08182.JPG"
Always remember, ImageUrl will be transmitted to the html sent to the client as response. Now from browser of the client it cant point to E:/College Photos/Farewell Party/DSC08182.JPG as it would mean its own computer. The browser should request url using http://www.yourserver.com/xx/a/DSC08182.JPG
Hope you got it.
|
|
|
|
|
|
Just use relative path as I mentioned.
~/xx/a/DSC08182.JPG will automatically point to
http://localhost/xx/aa/DSC08182.JPG if you are running from localhost.
Cheers.
|
|
|
|
|
|
Hi,
Forms authentication not working in my system.....
Same code working in others system.....
Send me some solution
Regards
Jayabharathi
|
|
|
|
|
rjayaabharathi@gmail.com wrote: Forms authentication not working in my system.....
Same code working in others system.....
Do you expect that we have to guess that what is not working in your system, what error you are getting or What is working on other system ?
Please be specific while asking any question so that we can help you out.
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hi
not throwing any exception....
but always returning User.Identity.IsAuthenticated = false
|
|
|
|
|
Try like this
Page.User.Identity.IsAuthenticated
or
HttpContext.Current.User.Identity.IsAuthenticated
if the same problem comes let me know..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
|
Where r u writing the above code..!Can You show the sample code..!
and the other thing wat abt the IsApproved Status ..!Is it false or True by default..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
in page load,
If User.Identity.IsAuthenticated = True And User.Identity.Name = HttpContext.Current.Session("username") Then
Else
Response.Redirect("..\index.aspx")
End If
|
|
|
|
|
rjayaabharathi@gmail.com wrote: but always returning User.Identity.IsAuthenticated = false
Does your application hosted on IIS? What authentication mode are you using on IIS ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
LOl I am Not answering This..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|