|
Hi all,
when im browsing my web application ,it is showing different alignment....See,i have a form to enter data in a page.... i am able to see the form correctly in one system and whn browse frm another system only half the form is visible...wht isd wron gwtih this....
Thanks,In advance
|
|
|
|
|
Do you use any Javascript in your application?
did you try to browse on your application on first system with another web browser?
Human knowledge belongs to the world
|
|
|
|
|
There some possible reason
1. Resolution are different
2. You are not using proper CSS
3. Your controls are not placed properly on Tables .
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Hi There,
I want create tree view at runtime,where user enter parent node name and clicks on add button and parent node get created.Same is the case with child nodes.I don't know how do this.If anybody knows please help.
Thanks.
|
|
|
|
|
You can create you own scenario to add nodes to tree.
a possible and easy scenario can be this:
1-if user clicked on create root(parent) ,then you must add node to root of tree with this code:
treeView1.Nodes.add();
2-if user want to add childs, user must first select the parent node , and whenever user clicked on add child you must find current selected node and then add childs with this code:
treeNode1.ChildNodes.add();
the treeNode1 is the selected parent on treeView
Human knowledge belongs to the world
|
|
|
|
|
Thanks For Reply
I tried the same as you said.But the problem is that when i click on parent node to select, post back occures.How to prevent postback..
Thanks
|
|
|
|
|
Get a value to each nodes in tree view and whenever user select a node in selectedindexchanged event you can find TreeView1.SelectedNode.Value and then continue
Human knowledge belongs to the world
|
|
|
|
|
Hi All,
I have an ASP application in which XSL is used for creating content and menus of the page, which is working fine for IE browser.
But my client wants it to be working on Safari or Google chrome browser.
When he tries on Safari and Google chrome browsers the menus are created at the left top of the page, some sub menus are also missing and more space is created between menus and other content of the page.
Can anybody pleae help me in resolving this issue. Any links or code snippets are very much helpfull.
Thanks a Lot,
Abdul Aleem
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
modified on Monday, January 12, 2009 12:37 AM
|
|
|
|
|
|
Hi,
Sorry but I am not using the ASP.Net I am using only ASP and XSL. The menu and design was created by using XSL and data is coming from ASP and VB components.
For me the problem is coming in XSL part rather than ASP part. Can any body please suggest me to remve these incompatibilities. Any link or code snippet will be very usefull.
Thanks in advance,
Abdul Aleem.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Hi,
I have the following part of datagrid
<asp:TemplateColumn HeaderText="Select All">
<HeaderTemplate>
<input type="checkbox" id="chkall" />
</HeaderTemplate>
<ItemTemplate>
<input type="checkbox" id="chk" runat="Server"/>
</ItemTemplate>
</asp:TemplateColumn>
the problem HeaderText "Select All" doesn't appear, it just checkbox header appear here. how I can solve this problem.
Regards.
modified on Saturday, January 10, 2009 1:52 PM
|
|
|
|
|
Try this:
<br />
<asp:templatecolumn headertext="Select All" xmlns:asp="#unknown"><br />
<headertemplate><br />
<input type="checkbox" id="chkall" />Select All<br />
</headertemplate><br />
<itemtemplate><br />
<input type="checkbox" id="chk" runat="Server" /><br />
</itemtemplate><br />
</asp:templatecolumn><br />
Human knowledge belongs to the world
|
|
|
|
|
Hi,
Please try this:
<asp:TemplateColumn>
<HeaderTemplate>
<input type="checkbox" id="chkall" Text="Select All" />
</HeaderTemplate>
<ItemTemplate>
<input type="checkbox" id="chk" runat="Server"/>
</ItemTemplate>
</asp:TemplateColumn>
or:
<asp:TemplateColumn>
<HeaderTemplate>
<table>
<tr>
<td>Select All</td>
</tr>
<tr>
<td>
<input type="checkbox" id="chkall" />
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<input type="checkbox" id="chk" runat="Server"/>
</ItemTemplate>
</asp:TemplateColumn>
Regards,
Rajdev K R
|
|
|
|
|
I am writing text one by one to a image, i want to give justification for that,
Can any one please help me?
|
|
|
|
|
Use style tag
style="text-align:justify"
|
|
|
|
|
You might want to reread his post: "I am writing text one by one to a image"
It looks like he is writing the text to a graphic file rather than to HTML.
|
|
|
|
|
...... and hence nothing related with asp.net
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Text can also be placed on image using a floating div tag.
He has not clearly defined, that he is writing text into the image using .net or he is placing a floating div
|
|
|
|
|
Amandeep Singh Bhullar wrote: He has not clearly defined, that he is writing text into the image using .net or he is placing a floating div
Yes Amandeep , that is the main reason he didn't get the answer till now. I don't know when people ask question why they didn't write there problem specifically. Its creates lots of doubt who are interested to give them answer.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Hi,
Am extremely sorry to all guys,
I am creating the image using asp.net.
again sorry,
can you please revert me?
|
|
|
|
|
Hema Bairavan wrote: I am creating the image using asp.net.
So, are you trying to create a graphic file that contains the text? If yes, then you are not going to do that with ASP.NET. ASP.NET is purely a framework for creating web applications. Graphic file creation is not part of ASP.NET. There are methods in .NET that will help though.
|
|
|
|
|
ho ok thanks mr Colin.
i am creating the text as image in graphics in the bitmap.
is it possible to justify the text there?
|
|
|
|
|
Hi
I have added a gridview with a check box field. But that checkbox is read only. I can not change the status of the checkbox. what could be the reason
Thanks
Sebastian
<div class="ForumMod">modified on Saturday, January 10, 2009 5:26 AM</div>
|
|
|
|
|
Sebastian T Xavier wrote: I have added a gridview with a check box field. But that checkbox is read only. I can not change the status of the checkbox. what could be the reason
my be the reason is Checkbox Enabled property set as false.
<emptydatatemplate>
<asp:checkbox id="CheckBox1" runat="server" xmlns:asp="#unknown">Enabled="false" />
</asp:checkbox></emptydatatemplate>
please check !!
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
<asp:CheckBoxField HeaderText="Add" DataField="Add" />
this is my code, I am in asp.net 2.0
I didn't see any such property
PLease guide
Sebastian
|
|
|
|