|
what is page post back and control level postback in asp.net ?
|
|
|
|
|
I would recommend buying a book on ASP.NET for these sort of base level questions. You need to understand them better than you will from a forum reply, to use ASP.NET at all.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi All,
I have an unformatted xml string text which looks as below
<Value Name="Param1" Length="0" Type="System.Double">3</VALUE>
<Value Name="Param2" Length="0" Type="System.Double">2</VALUE>
I want to read values from the above xml text. I have tried it to make it
XmlDocument object but it is giving error as illegal characters exist. Please give me advice how to read values from this text. If posible give me a small code snippet.
Thanks,
Aleem Mohammad.
NIIT technologies
abdul.aleem@niit-tech.com
|
|
|
|
|
indian143 wrote: as illegal characters exist.
then it's not valid XML. what you posted is most certainy not valid XML, in any way or form. So, if you don't have XML, you can try regex instead. XML parsing is a lot cleaner, can you request XML from your source ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Double Post[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
It is invalid because it doesn't have a root node. Just add a root and it's closing node and try to load to XMLDocument .
|
|
|
|
|
it still won't be valid XML.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Ooops, I haven't noticed the node case. That is what you meant, right ?
|
|
|
|
|
yes
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
what does your answer offer, when three people have already explained the issue ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi,
I have asp:DataList with asp:ImageButton as item template. I have only 2 items to be displyed in list. But while runnig these 2 items are at both ends.
I have applied the RepeatLayout="Flow", then the items are displyed together in center
can anyone help?
Thanks,
Soni
|
|
|
|
|
Hi,
You havent mention how you exactly need to controls to display..so i just guessed.;)
If you want to display the 2 buttons vertical ie. one after the other use : RepeatLayout="Flow" RepeatColumns="1"
If you want to make them horizontal use : RepeatLayout="flow" RepeatDirection="Horizontal"
Let me know if you need more help...Hope it helps
Thx,
Gayani
|
|
|
|
|
I cannot understand the full concept of serialization, Is that makes a object persistent. or ? ? ? ? ? ? ? ??
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
Mogaambo wrote: I cannot understand the full concept of serialization
Look Here[^]
Try to find yourself rather than expecting for cooked food.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Don't give me java links. It is over my head.
Manas Bhardwaj wrote: Try to find yourself rather than expecting for cooked food.
I am not asking for a cooked food,
I am asking what is the concept that is implemented in cooking the food.
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
Mogaambo wrote: Don't give me java links. It is over my head.
These are the links for serialization and not for java or c#.
Serialization is a concept. It does not matter if its implemented with Java or C#.
Mogaambo wrote: I am asking what is the concept that is implemented in cooking the food.
Well, in simple words it is the process of converting the state of an object into persistant form that can be stored in a medium or transported across processes/machines
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Mogaambo wrote: I am asking what is the concept that is implemented in cooking the food.
I googled and this[^] was my first hit. Why don't you just do that instead of waiting for someone to reply ?
|
|
|
|
|
Hi All,
I want to know that how can I prevent Ctrl+v i.e paste on a text box. I need to implement that one can not paste on a text box. Only typing will be allowed.
D'Kng
|
|
|
|
|
|
This may work for You
Happy programming
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Thanks for your quick and wonderfull reply...
D'Kng
|
|
|
|
|
<asp:textbox id="TextBox1" runat="server" oncopy="return false" onpaste="return false" oncut="return false" xmlns:asp="#unknown">
I will do my best?
|
|
|
|
|
hi
i think i put this question before some days age. question is that i have a right panel to add records in database in database i save information of employees with photo. and in middle panel datagrid to fill datagrid and update datagrid i use updatepanel for datagrid and also all right panel is used panel like edit, add, info and delete. and i want that page is not refresh when user click on insert button but problem is that its working properly when page was refreshed (before putting in update panel) after that given a problem that i browse a picture but when i click on insert there is no file with fileuploader how to overcome this problem?
mean not work properly fileupload when i put this control in update panel.
I will do my best?
|
|
|
|
|
Hi,
FileUpload control works fine with the Update Panel. Its just normal for you to lose the selected file once you refresh the page regarless of useing the Update Panel.
I think some other even of your page might cause the page to refresh that results the selected file in the uploader to disappear.
Hope it helps,
Thx,
Gayani
|
|
|
|