|
|
Hi, It seems to be google has changed his last implementation. So we need to dig into more. In the mean while you can convey your customer to login agin with password. If you have any concern please let me know.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
Thank you once again.
I will check and update
Thank you
|
|
|
|
|
|
hi
how can i get the "selected_index" property of parent_gridview when i clicked on child_gridview.
i do not want to use "AutogenerateSelect" property of both gridviews as true.
|
|
|
|
|
I'm trying to do the following:
<asp:Repeater ID="rpt1" runat="server" DataSource="<%#airplanes %>">
<ItemTemplate>
<asp:Repeater ID="rpt2" runat="server" DataSource="<%#abo.GetPilotsList(eval("Id")) %>">
<ItemTemplate>
<asp:LinkButton ID="lnb" runat="server" Text='<%#eval("Name") %>' />
</ItemTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:Repeater>
I get the following error: "The server tag is not well formed" ,for the following line:
<asp:Repeater ID="rpt2" runat="server" DataSource="<%#abo.GetPilotsList(eval("Id")) %>">
...
|
|
|
|
|
Hi, I believe you need to use Continer.DataItem rather than eval. See my below code-
DataSource="<%#abo.GetPilotsList(Continer.DataItem) %>";)
and in your method:
GetPilotsList(Object rowObject)
DataRowView drv = (DataRowView) rowObject;
if( drv != null && drv.Row.Table.Columns.Contains("id"))
{
...............................................
Parwej Ahamad
ahamad.parwej@gmail.com
modified on Tuesday, October 13, 2009 3:31 AM
|
|
|
|
|
hi.. all
How can i save the SMS in our database send through a mobile phone??
|
|
|
|
|
You need to write a layer over the mobile OS.
For the symbian based phone. You can read the sent folder.
Keep the phone connected with PC using Data Cable.
Read the SMS from the folder and write it on the socket. Now on PC side read the data from the socket and save it in DB
|
|
|
|
|
Hi.. Thanks a lot for the reply.
But actually i want to develop an application in which i want to save the
SMS sended by a mobile . Actually the main application is someone send a
SMS on a unique number and i want to save that SMS in a database of server.
can u plz tell me how can i implement this ?
Thanks
|
|
|
|
|
|
chandni patel wrote: znvzfvnc
Why are you spamming over here
|
|
|
|
|
chandni patel wrote: znvzfvnc
Hi.
What u want to say by writing this unlogical word
|
|
|
|
|
hi all,
I am using ASP.NET in my website.I have to show a birthday alarm to user when he/she login for that day only.I am using Sqlserver 2008.I will get birthdate from database and compare it to current date by using query.
but to display it I need alarm control.
plz
|
|
|
|
|
bhavnvyas wrote: but to display it I need alarm control.
I have no idea what you mean by this, but as one is not built in, you will need to write it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
Hi, if you just need the alarm result, you can creat a form by using JS
and control its hidden/display by comparing the date.
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 21:57pm.
|
|
|
|
|
I have a master page "secondary.masterpage" which is the master page for every page of the site (except the home page).
I have a menu control going horizontal along the top of the page, and there is a tree view control in the left column. (I am not partial to the menu or tree controls... I'm willing to change to whichever control is better for this situation.)
This is what I am trying to do. Say the user is on the home page. The user clicks on the "About" menu link from along the top (primary navigation). The user then views the about.aspx page. On this page (using secondary.masterpage), there is now a left column for the secondary navigation. I only want the child nodes from the "About" sitemap parent node to appear.
I've been reading this walkthrough http://msdn.microsoft.com/en-us/library/16yk5dby.aspx but I don't want to hardcode file names (the example has Default.aspx?node=hardware).
How can I write the code behind for the masterpage so that only the child nodes for a particular section show up?
|
|
|
|
|
|
Myself ... I have been stumbling into tools like fxcop, binscope, etc. So I have setup a batch file which compiles my code, and then throws a bunch of analysers at the output. I think it will result in better code (once I figure out what all those errors mean!) and the precompiled stuff may run a tad faster.
Why do you use aspnet_compiler.exe?
|
|
|
|
|
Mark Wachdorf wrote: Why do you use aspnet_compiler.exe?
We all use it implicitly. I mean it is used when you precompile the website or for in-place compilation. Precompilation can make the advantage only when the page is requested for the first time. ASP.NET will not compile the page as it is precompiled, thus avoiding the small delay in compiling when the page is requested for the first time.
Precompilation is better when you deploy the application on a third-party server, or you sell the application. This will prevent users getting access to the source. In other scenarios, in-place compilation is preferable.
|
|
|
|
|
|
Was that a bad answer?
|
|
|
|
|
Hello,
I have a controller class like below:
public class CompanyController : Controller
{
public ActionResult Index()
{
ViewData["Message"] = "Company List";
ViewData["Company"] =
CompanyDataContext.GetCompanyByCategory(1).AsEnumerable();//dataContext.Persons.ToList();
return View(ViewData["Company"]);
}
...
...
The view has the below code
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master"
Inherits="System.Web.Mvc.ViewPage<IEnumerable<Review.Models.Company>>" %>
<% foreach (var item in Model) { %>
<%
Html.RenderPartial("~/Views/Shared/List.ascx", item); %>
<% } %>
...
Now if I want another user control on the same view with with different data how can I do it?
Like Below
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master"
Inherits="System.Web.Mvc.ViewPage<IEnumerable<Review.Models.Company>>" %>
Html.RenderPartial("~/Views/Shared/GetNames.ascx", item); %&gt;
<% foreach (var item in Model) { %>
<%
Html.RenderPartial("~/Views/Shared/List.ascx", item); %>
<% } %>
...
Regards,
Pavas
|
|
|
|
|
Dear all,
I am using asp.net with c# 2005, .NET 2.0. How can i get all the file in directory C in server? I am tring to use DirectoryInfo to get the files, but the problem is what is the valid path for C drive in server?i try to use server.mapPath(@"~"),but only can get the path in wwwroot...
Any tips or helps are welcome
thanks in advance
regards
cocoonwls
|
|
|
|