|
Can you post what code you have so far?
We are not a Code Charity
|
|
|
|
|
this is all of my code
Label1.Text = System.Web.Profile.ProfileManager.GetNumberOfProfiles(System.Web.Profile.ProfileAuthenticationOption.All);
and it always return zero.
|
|
|
|
|
Hi,
In my application i hv converted aspx file to html and then to pdf format,but in pdf file the styles r not getting applied.Pls suggest me how to make the styles appear in the pdf file
Thanks in advance
Sunitha
Sunitha
|
|
|
|
|
Talk to whoever provided your PDF library. We can't possibly help you based on this.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi,
I have a problem... and any kind of suggestion/solution will be accepted whole heartedly.
I have a button on its click I want to do some validation, that logic has been written in business logic layer. If the validation fails then I want to show an confirm pop-up using Java script.
The validation is all about comparing an input textbox value with a session variable.
Waiting for suggestions..
Thanks & Regards
Sangram
(A battle with self)
Life is simple, we are the ones makes the living difficult
|
|
|
|
|
Why dont you write the code in c# then just show a message on the same screen.
I dont think its best to use javascript heavily or unnecessarily with asp.net and c#
If you really want to use javascript check this out:
http://www.developerfusion.co.uk/show/4505/
We are not a Code Charity
|
|
|
|
|
Hi,
Thnaks for replying.
I just don't Want to show an Confirm message.
I want that after the Button is clicked it calls a method for validation of the page. If the input textbox's Value is Less then 100 to say I want to show the confirm popup ur entry is less than 100 are u sure u want to proceed with this?
hope u understand the situation
Thanks and regards
Sangram
(A battle with self)
Life is simple, we are the ones makes the living difficult
|
|
|
|
|
Well then put that bit of code checking the less than 100 in the last bit of the onclick event of the button.
Not sure how you would include the javascript code in that though
We are not a Code Charity
|
|
|
|
|
please some one help i make a web application in asp.net with ajax...its working fine on local but when i upload it on net it is giving the javascript error "sys is undefined" and my ajax functionality is not working please tell me the solution
|
|
|
|
|
|
|
i didn't get the solution so i asked it again
|
|
|
|
|
It is considered a very rude way in discussion forums to make a post appear sticky (on top) in an unauthorised fashion.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Try joinng forums.asp.net, you might have more luck there, if someone didnt answer the first time chances are they dont know the answer
We are not a Code Charity
|
|
|
|
|
i was too much tensd so i askd it agn....i m sorry for that...but i didn't mean that u undrstan...u askd so i simply explain... that i didn't get answer......sry once agn if u think i was rude
|
|
|
|
|
Hey, does anybody know of a blog/forum combination suite for ASP.NET? I've used BlogEngine.NET before, and YAF as a Forum engine, and love them both, but since they're different systems, they don't share login credentials. Or, does anybody know how to incorporate, say, BlogEngine.NET with an ASP.NET forum suite? If not, maybe I'll have to just roll my own. It'd be time consuming as heck, but fun, too, I'd imagine.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
Wouldn't community-server address your concerns?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Maybe. But every mention of it I've read in the past has been pretty much negative. Also, I'm looking for open source, as my needs are for a personal web site, not corporate.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
Couldnt you just use the same database and merge the login tables into one?
We are not a Code Charity
|
|
|
|
|
Yeah, that's what I'm considering. I need to ascertain how hard it would be to merge both systems. I was mostly curious if anybody had existing code. Well, if I do so myself, I'll just have to post said code here for anyone else looking to do the same thing.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
Hi
I created my site in asp.net 1.1 It has been running for quite a while now. However, recently, I have started having problems with it.
First, I was have a 'Unable to validate data' problem. I resolved this issue by adding the following to my web.config file:
<pages buffer="true">
enableSessionState="true"
enableViewState="true" enableViewStateMac="false" />
However, I am having another strange problem. I have a secure page (Web_page.aspx) and requires the user to be logged in to the site. I perform this check with the following code in web_page.aspx:
if(!Context.User.Identity.IsAuthenticated)
{
Response.Redirect("login_page.aspx");
}
else { continue with the page}
The problem is that: If a person is logged in and he clicks on the web_page.aspx link, the system redirects them to login.aspx page (the system should take them to the web_page.aspx page because the user is already logged in). At this if the user clicks on web_page.aspx link AGAIN, then it works correctly, i.e. I am taken to web_page.aspx.
As you can see, I have to click TWICE on this link to make it work correctly. This is happening with ALL the pages that require login. Very strange indeed.
Any idea what is happening here?
My system was working correctly in the past. This problem has just emerged.
|
|
|
|
|
What kind of Authentication you are using. Are you using some custom one or soem built in ASP.NET like Froms etc?
Cheers,
Ashik
|
|
|
|
|
To me , it does not seem like a authentication or session expiration problem. The users are still logged in when they click on the link twice.
It seems more like a caching problem on the client side
|
|
|
|
|
Have u first time checked the condition in the page load event when it redirects to login page?
Does the IsAuthenticated come False ?
Ashik
|
|
|
|
|
I originally posted this in the C# forum but was advised this may be the better place to get the answer.
I have a checkboxlist with different items. I have a comma separated values field that I need to bind to this cbl. The cbl is in a detailsview. I know that I need to loop through the dataset rows so each record in the detailsview is bound with the correct information, however I have only figured out how to bind the first row in the dataset for every record in the detailsview. I know I need to loop through the dataset but am not sure how to do it at the same time as looping through the rows in the detailsview. This below function is called onDataBinding. Can anyone assist?
Thanks in advance!
public void FillControls()
{
int intSN = Convert.ToInt32(Request.QueryString["LookUp"].ToString());
Selections db = new Selections();
DataSet ds = db.Services(intSNo);
int iCount = ds.Tables[0].Rows.Count;
if (iCount != 0)
{
if (dvGetMoreData.CurrentMode != DetailsViewMode.Insert)
{
FillMultipleCheckboxesWithValue((CheckBoxList)dvGetMoreData.FindControl("cblSvcs"), ds.Tables[0].Rows[0]["Services"].ToString());
}
}
}
~Candi
~Candi
|
|
|
|