|
What error you are getting ? I don't think that you can returns a data reader in WCF.
|
|
|
|
|
hi,
there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone guide me how can I stop whole page Post Back when user control call any server events?
rup
|
|
|
|
|
I think ur trying to say something like this
U just want only a particular part of a page to be refreshed? Is it so?
And which version of framework are u using?
Believe Yourself™ :->™
|
|
|
|
|
yes, Version is Asp.net2.0
rup
|
|
|
|
|
You need to use AJAX for that. Once the page is rendered, there is no separation like user controls. Everything will be considered as a single page, and any controls on that will refresh the entire page.
|
|
|
|
|
thanks for reply,
my usercontrol has most part of javascript and css while using UpdatePanel for Ajax functionality It prevents to reload of some JS ref and CSS. due to that page design is gone Destroy. if there is some way please let me know.
rup
|
|
|
|
|
Ajax is not working?
Can u please tell, Exactly what happens!!!
Now,
Two questions...
1.Where u have take the reference for JS and CSS? Is JS in separate(.js) file?
2.have you used master page in that page?
If u have not use masterpage then u can use masterpage instead Usercontrol,
It will be best if u use Masterpage.
reply fast.
Believe Yourself™ :->™
|
|
|
|
|
I want to display the my own .gif images in each of the treenode. Here is my code.
And the image is not displayed in my treeview .
string cmd = "select ISBN,Title,ImagePath from Metadata";
SqlDataAdapter adapter = new SqlDataAdapter(cmd, sqlConn);
DataSet SearchBooks = new DataSet();
adapter.Fill(SearchBooks);
if (SearchBooks.Tables.Count > 0)
{
foreach (DataRow row in SearchBooks.Tables[0].Rows)
{
TreeNode newNode = new TreeNode(row["Title"].ToString() , row["ISBN"].ToString());
newNode.PopulateOnDemand = true;
newNode.ImageUrl= row["ImagePath"].ToString();
newNode.NavigateUrl = row["ImagePath"].ToString();
newNode.SelectAction = TreeNodeSelectAction.Expand;
node.ChildNodes.Add(newNode);
}
}
Where i am wrong. What should i do to view the image in the treenode.
Please somebody guide me.
VanithaVasu
|
|
|
|
|
Hi, iam using ajax based help messages in my web applicatins.
For displaying this help messages iam using Pop up control extender,
the help messages are displaying at appropriate positions when viewing in mozilla but when it comes to internet explorer ther positions are getting changed.
can anyone suggest me a solution for this?
Thank u
|
|
|
|
|
What do you mean by 'ajax based', why does your help message need to make an asyncronous call, just to get the help text as needed ?
We can't possibly help you without seeing the code you're using.
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 )
|
|
|
|
|
when the application set up is in the client machine how the web.config file is encrypted using command prompt
|
|
|
|
|
what is the view state and and postback?
what is the mean by page.isvalidate?
raja
|
|
|
|
|
Seriously, all these questions are easily answered by google, and if you don't know the answers to any of the questions you asked, you can't possibly be using ASP.NET. Buy a book, learn to use google, ask when you're at a base level of being able to understand the replies.
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 )
|
|
|
|
|
hey wait - Just go through some books and forums, Read Some Articles Posted here
You will find many useful Information, Just go through that Yaar.
If find any problem there then Post here.
View state is used for state Maintain. It stores a values for a page.
Postback Means the page is been redirected to server for post.
Page.Isvalidate Checks All validaters and it fires Validaters forcefully, Cause some Browsers not supports all validaters Invocation.
refer books, try urself.
Believe Yourself™ :->™
|
|
|
|
|
how to call the java script in code behind files?
raja
|
|
|
|
|
Please stop spamming the boards. IF you have this many questions, buy a book. IT's plain you are starting out, do yourself a favour and learn some stuff before asking all these things online.
You can't, best you can do is inject javascript to run the code. For you to even ask this shows you have no idea how ASP.NET works. Buy a beginner book, and read it.
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 )
|
|
|
|
|
what is the diff b/w the http get and http post method?
raja
|
|
|
|
|
Are you working your way through an exam, asking the questions here ?
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 )
|
|
|
|
|
I am using login and loginstatus controls in my application.
When I logged In It change the login status control text to logout which is fine but when I click the logout button it does not take me to the login page again.And how I can stop user to go back by clicking back button in the browser once he is logged off.
How I can store login username in session variable by using login control?
THanks In advance
Ejaz
|
|
|
|
|
To prevent the user from using the back button and gaining access after logoff you need to add checks to each page that verify the user has logged in, if not redirect them to the login page.
After the user has logged in you can get the username from the security principal, like WindowsIdentity.Name
only two letters away from being an asset
|
|
|
|
|
what is diff b/w typed dataset and untyped dataset?
raja
|
|
|
|
|
|
I am using asp.net +vb.
On 'password chage' i am using two textboxes.One for 'type password' and another for 'retype password'.I want to check if the value in the 'retype password'cant be a copy from the 'type password' field.means the the admin can enter manually the value in the 'retype password'.Anyone know this pls fgive code to me.
|
|
|
|
|
You want to check if the user used copy/paste ? You really can't tell, the best you can do is stop copy/paste from working ( I didn't think it did with a password box ).
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 can i check the user copy/paste from one field to another
|
|
|
|