|
|
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
|
|
|
|
|
ok. I would suggest you to use GridView Template Field Rather than using CheckBoxField. It will solve your problem.
<asp:GridView ID="GridView1" runat="server">
<EmptyDataTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" />
</EmptyDataTemplate>
</asp:GridView>
Please let me know when done !!
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Can you post the full definirion of the grid?
Thanks,
Rajdev KR
|
|
|
|
|
I run exe of aspnet_regiis also but problem is still there
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HostingEnvironmentException: Failed to access IIS metabase.]
System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3591442
System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169
System.Web.CachedPathData.GetConfigPathData(String configPath) +389
System.Web.CachedPathData.GetConfigPathData(String configPath) +243
System.Web.CachedPathData.GetApplicationPathData() +68
System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567
System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
modified on Saturday, January 10, 2009 4:40 AM
|
|
|
|
|
anilaabc wrote: I run exe of aspnet_regiis also but problem is still there
What was your actual problem ? from where are you runs this command ? Which framework do you have installed in your system ?
The possibly causes of your problem is
<br />
you have install IIS after .NET 2.0 framework in your system. And for that e ASPNET user right does not set properly. <br />
Resolution :
Run aspnet_regiis command from .NET Framework Directory.
e.g : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
I Run aspnet_regiis command from .NET Framework Directory.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
and .net frame work 2.0 is installed
|
|
|
|
|
anilaabc wrote: I Run aspnet_regiis command from .NET Framework Directory.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
and .net frame work 2.0 is installed
Then what happened ?
Reset IIS , open Inetmgr , open the properties of Virtual Directory of your application , Check ASP.NET version (it should be 2.0..) .
Run the application .
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
i am having dropdownlist in master page and i want to acces its selected value and selecteditem and using following code but in not seems to work
DropDownList dd = (DropDownList)Master.FindControl("DropDownList1");
string pBranchCode = dd.SelectedValue;
string pBranchSName = dd.SelectedItem.Text;
umerumerumer
|
|
|
|
|
mr_muskurahat wrote: but in not seems to work
Which is not working ? Where did your written thid code ?
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|